Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Cody Watkins / Cody Watkins (cgw_bc)
Created: 07/31/2014
Components: AJAX
Versions: 11.0
Failure Type: Usability Issue
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win 2012 Server x64
Vote Count: 0
Problem Description:
CFGRID isn't resetting back to page 1 when you update a field that the CFGRID is binded to. It's trying to preserve the current page, but it either shouldn't, or you should be able to specify whether you want the page to be preserved when a bind value is changed.
Steps to Reproduce:
For example take a CFGRID that has a CFSELECT field above it. The CFSELECT is used to filter the results in the CFGRID. The CFGRID calls a CFC function and is binded to the CFSELECT parameter.
Let's imagine the CFSELECT is a filter for "File status". With options "All", "Open files only", and "Closed files only".
On initial load if the filter is "All" (for example), the CFGRID could show 10 pages of results (200 individual row records for example).
But then when you change the CFSELECT to another value such as "Open files only", and the CFGRID updates automatically because of the bind, if there are less than 10 pages of results, the CFGRID returns blank and shows page 0 of 0.
Actual Result:
Blank CFGRID showing page 0 of 0.
Expected Result:
Should change back to page 1 when the new values are reloaded. Worked in CF8.
Any Workarounds:
None. Looking into using javascript code to change the handler dynamically on the fly using ExtJS and then adjusting it to force the page back to 1 before the CFGRID re-queries the CFC.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3798028
External Customer Info:
External Company:
External Customer Name: cgw_bc
External Customer Email:
External Test Config: My Hardware and Environment details:
CF11 using Windows Server 2012 R2
Attachments:
Comments: