Results 1 to 5 of 5

Thread: After Refresh Grid comes on first page.

  1. #1
    Ext User Rupesh's Avatar
    Join Date
    Mar 2009
    Posts
    5
    Vote Rating
    0
      0  

    Question 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
      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
      0  

    Default

    I am using manual refresh.

  4. #4
    Ext User
    Join Date
    Jul 2009
    Posts
    2
    Vote Rating
    0
      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
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •