-
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
-
Best Answer Posted by
lovelyhibabe
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
-
Sencha User
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
-
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
-
Forum Rules