1. #1
    Ext User Rupesh's Avatar
    Join Date
    Mar 2009
    Posts
    5
    Vote Rating
    0
    Rupesh is on a distinguished road

      0  

    Question After Refresh Grid comes on first page.

    After Refresh Grid comes on first page.


    Hi,

    We have paging grid and in that we have refresh functionality.

    But after Refresh Grid comes on first page not on current page.

    please suggest any way for after refresh is should come on same page.


    rupesh


  2. #2
    Ext User
    Join Date
    Aug 2007
    Posts
    6
    Vote Rating
    0
    etaix is on a distinguished road

      0  

    Default


    Did you use a manual refresh (by code) or did you use the PagingToolbar refresh ?

  3. #3
    Ext User Rupesh's Avatar
    Join Date
    Mar 2009
    Posts
    5
    Vote Rating
    0
    Rupesh is on a distinguished road

      0  

    Default


    I am using manual refresh.

  4. #4
    Ext User
    Join Date
    Jul 2009
    Posts
    2
    Vote Rating
    0
    ehe888 is on a distinguished road

      0  

    Default


    If you are manually refresh the PagingGrid then please make sure you have pass the state paramenter Offset, limit to server side if you did not pass the offset parameter then the server program do not know go which page.

  5. #5
    Ext User Isabella's Avatar
    Join Date
    Sep 2009
    Posts
    22
    Vote Rating
    0
    Isabella is on a distinguished road

      0  

    Default


    You can destroy the current grid and refresh it again

    store.on('load', function()
    {
    if(Ext.getCmp("grid")) {
    Ext.getCmp("grid").destroy();
    }
    }
    Thanks Isabella

Thread Participants: 3