View Full Version : Why grid is not updating after buffered store is reloaded?

14 Feb 2014, 8:15 AM
Steps to reproduce:

1. Load this page (http://docs-origin.sencha.com/extjs/4.2.2/extjs-build/examples/grid/infinite-scroll.html)
2. Use the inspector to modify the UI. I appended 'XXX' to the 1st topic.
3. Reload the store from the console.


Why the UI is not updating?

The 'xxx' should disappear after the reload since the client received new new data.

I'd like the UI to refresh after the reload. How can I do this?

47936 the grid

14 Feb 2014, 8:35 AM
Looks like a previously reported bug?


15 Feb 2014, 6:28 AM
Ext.getStore('store').loadPage(1); refreshes the UI, however it also scrolls the grid to the beginning.

Is there a way to refresh the grid w/o scrolling? Do you have any pointers or workarounds?

The code is not trivial to figure it out on your own.