-
26 Apr 2012 6:19 AM #1
Remotely filtered paging grid does not reset offset on filter activation
Remotely filtered paging grid does not reset offset on filter activation
Required Information Version(s) of Ext GWT
EXT GWT 3.0.0 RC2
Browser versions and OS (and desktop environment, if applicable)- «Firefox 11, Windows 7»
- «Firefox 10, Windows XP»
No
Description
If you have a grid with paging and remote filtering, the offset is not reset to 0 when the filter configuration is changed.
Example: You are on page 2 of a yet unfiltered grid, and then eliminate all but one row due to a filter.
You are then going to be stuck in page 2 with the old total count, which will only adapt if you go back to page 1. I don't think this is the expected behaviour.
Run mode
Both
Steps to reproduce the problem- Go to http://sencha.com/examples-dev/#Exam...motefiltergrid
- Go to page 2 in the grid
- Add a filter in column "Company" saying "Pfizer"
You should immediately see the Pfizer entry on page 1, "Displaying 1 - 1 of 1"
Actual result
You see an empty page 2 with an incorrect count saying "Displaying 26 - 44 of 44".
Everything gets corrected if you go to page 1 manually
Test case
Source code of http://sencha.com/examples-dev/#Exam...motefiltergrid
Live test
http://sencha.com/examples-dev/#Exam...motefiltergrid
-
15 May 2012 2:02 PM #2
Thanks for pointing this out. I've filed a ticket against the team and will have them take a look.
You found a bug! We've classified it as
EXTGWT-2120
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote