Array grid paging refresh stay on page

  1. #1

    Array grid paging refresh stay on page

    following this example is it possible that the user stays in the same page after refreshing the grid and not redirected in the first page?
  2. #2

    Yes, it is possible. But you'll have to write your own refresh handler to switch back to the page -if- it is still available after the data refresh.

    You'll have to specify a RefreshHandler="<your_code_here>" in the paging toolbar component.
    Fabrício Murta
    Developer & Support Expert
  3. #3

    thank you! I solved it like this:

    <ext:PagingToolbar runat="server" RefreshHandler="handleRefresh();"  />
    var handleRefresh = function () {
                var page = App.UsersGridPannel2.getStore().currentPage
            public void RefreshGrid(int pagenumber)
  4. #4
    Hello @atroul!

    Glad it helped, and thanks for sharing the solution that worked for you! It looks very nice!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Reload page and stay in this current page
    By kdms in forum 3.x Help
    Replies: 1
    Last Post: Mar 24, 2015, 12:39 PM
  2. Replies: 2
    Last Post: Sep 25, 2014, 1:20 PM
  3. Replies: 6
    Last Post: Mar 31, 2014, 2:26 PM
  4. Replies: 0
    Last Post: Jul 15, 2013, 9:34 AM
  5. Replies: 4
    Last Post: Aug 09, 2011, 9:32 PM

Tags for this Thread

Posting Permissions