PDA

View Full Version : Reloading data store at current position of an infinite grid



gtsafas
3 Jul 2012, 9:44 AM
Hi, I have a need to reload a data store at a current position. Currently when I call store.load() it returns to the top of the table. I have been forced to save my scrollbar position, reload data and then scroll back to the position. While this works, it causes an unwanted screen blink. Is there anything else I can do?

droessner
3 Jul 2012, 10:52 AM
Take a look at the store's loadPage method. You can load a specific page in the store.

http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Store-method-loadPage