Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 08/31/2009
Components: AJAX, UI Components
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
cfgrid format=html, 1st row cannot be selected while others can. 1st row becomes selectable after other rows (if available) is selected first.Verified on FF3.5.2 and IE8.Workaround: add a dummy row if the query only has 1 row.
Method:
<cfscript>qry1 = QueryNew("number");QueryAddRow(qry1);QuerySetCell(qry1,"number",1);qry2 = QueryNew("number");QueryAddRow(qry2);QuerySetCell(qry2,"number",1);QueryAddRow(qry2);QuerySetCell(qry2,"number",2);</cfscript><!doctype html><head></head><cfform><!--- 1st row not selectable ---><cfgrid name="grid1" format="html" query="qry1"/><!--- can't get any value --->Selected Number: <cfinput name="grid1Num" bind="{grid1.number}"><br><!--- 1st row not selectable while 2nd row is, then 1st row become selectable after 2nd row is selected ---><cfgrid name="grid2" format="html" query="qry2"/><!--- always get 2 first --->Selected Number: <cfinput name="grid2Num" bind="{grid2.number}"></cfform>
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039830
External Customer Info:
External Company:
External Customer Name: Henry Ho
External Customer Email: 237A22C24921EDF5992015B9
External Test Config: 08/31/2009
Attachments:
Comments: