I am having an issue with using a CFGRID. I am display the grid with maybe 4
columns of data.
My first column is an ID column.
My goal is to click on a row and it will send the user to a new page with the
ID value being part of the URL.
such as: onClick url would be: test.cfm?id=1 or 2 whichever the ID value is.
Any idea why this will not work and will just add a # to the existing URL?
<cfgrid
name="datatrack"
format="HTML"
query="qGetAllDataTracks"
selectmode="row"
onchange="getURL('test.cfm?ID=' +
datatrack.dataProvider[datatrack.selectedIndex]['ID']);"
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292572
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4