Title:
[ANeff] Bug for: [regression] AJAX grid checkboxes do not stay checked if another column's cell was clicked first
| View in TrackerStatus/Resolution/Reason: To Fix//ThirdParty
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 12/26/2014
Components: AJAX, UI Components
Versions: 2016,11.0,2018
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
If AJAX cfgridcolumn's type="boolean", then its checkboxes do not stay checked if another column's cell was clicked first. This worked fine in CF10.
Repro:
1) run index.cfm
2) click any cell in the "anotherColumn" column
3) click all the checkboxes
Actual result: None of the checkboxes remained checked
Expected result: The checkboxes that were initially unchecked should've become checked
index.cfm
-----------
<cfform>
<cfgrid format="html" name="myGrid" width="275" autowidth="yes" selectmode="edit" selectonload="false" bind="cfc:MyCFC.getGridData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})" onChange="cfc:MyCFC.setGridData({cfgridaction},{cfgridrow},{cfgridchanged})">
<cfgridcolumn name="booleanColumn" type="boolean">
<cfgridcolumn name="anotherColumn">
</cfgrid>
</cfform>
-----------
MyCFC.cfc
-----------
component {
remote function getGridData(gridPage, gridPageSize, gridSortColumn, gridSortDirection) {
var q = queryNew("booleanColumn,anotherColumn", "bit,varchar", [[false,"click here first"],[true,"or here"],[false,"or here"],[true,"or here"],[false,"or here"],[true,"or here"],[false,"then click each checkbox"]]);
return queryConvertForGrid(q, ARGUMENTS.gridPage, ARGUMENTS.gridPageSize);
}
remote function setGridData(gridAction, gridRow, gridChanged) {}
}
-----------
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3915053
Reason: BugVerified
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
External Test Config: Verified w/ CF11 Update 3 Final Standalone Enterprise on x64 Windows w/ Firefox 34.0.5, IE 11 and Chrome 39.0.2171.95 m
Attachments:
Comments: