Results 1 to 3 of 3

Thread: Grid Refresh After Scroll

  1. #1

    Default Answered: Grid Refresh After Scroll

    When you have a modern grid, like the one in
    https://examples.sencha.com/coworkee/#people

    When you scroll down and page 2 of the grid gets loaded, if you try to refresh it only refreshes page 2. So any modifications, changed... on page 1 never get refreshed.

    I don't know if this is the expected behavior or if there is any way to change it.

    Just want to refresh/reload and the results for all pages loaded in the buffer.

    Any ideas?

    Maybe there should be an option to reloadAll

    Thanks

  2. It's a remote paging list, it only load one page at a time. You can call `store.loadPage(1)`
    This example may call `store.reload()`, and it just reload the last page

  3. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    147
    Answers
    5

    Default

    It's a remote paging list, it only load one page at a time. You can call `store.loadPage(1)`
    This example may call `store.reload()`, and it just reload the last page

  4. #3

    Default

    Thanks.

    Works fine except when you are scrolling down and you on page 5 and you call store.loadPage(1) it will reload 1 and 3, but not 2. lol. I will set more record per page to this does not happen.


Posting Permissions

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