bcrosby007
asked on
CFGrid that opens external website when clicking on a row.
I have a database that has a URL field. The URL's can be different. This is what i currently have but nothing launches when i click on a row.
Thoughts?
Thoughts?
<cfform name="video" format="html" align="center">
<cfgrid name="videolist" query="videos" format="html" autowidth="no" selectmode="ROW" onchange="getURL('https://youtube.com/watch?='videolist.selectedItem.path, '_blank')">
<cfgridcolumn name="vidname" header="Video Name" display="Yes" width="150"></cfgridcolumn>
<cfgridcolumn name="software" header="Software" display="Yes" width="100"></cfgridcolumn>
<cfgridcolumn name="keywords" header="Tags" display="Yes" width="300"></cfgridcolumn>
<cfgridcolumn name="vidnumber" header="Number" display="Yes" width="100"></cfgridcolumn>
<cfgridcolumn name="path" header="Location" display="Yes" width="300" ></cfgridcolumn>
<cfgridcolumn name="dateadded" header="Date Entered" display="Yes" width="100"></cfgridcolumn>
</cfgrid>
</cfform>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
I ended up using jquery and a few other things to make it work.
Dropping cfgrid for an external lib is really the way to go. CFGrid is notoriously .. painful to extend, and ... like I mentioned, Adobe tends to break custom grid features with every update. So you're better off with another grid tool.
ASKER
Thanks for your help.