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.
  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    4
    Vote Rating
    0
    florian.trossbach is on a distinguished road

      0  

    Default 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»
    Virtual Machine
    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
    1. Go to http://sencha.com/examples-dev/#Exam...motefiltergrid
    2. Go to page 2 in the grid
    3. Add a filter in column "Company" saying "Pfizer"
    Expected result
    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

  2. #2
    Sencha - GXT Dev Team WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for pointing this out. I've filed a ticket against the team and will have them take a look.