View Full Version : Setting options in buffered store after loadPage

28 Aug 2013, 4:08 AM

I use Extjs 4.2 and I have a problem with buffered store in infinity grid. What I need is a grid that has infinite scroll, but also I need to check the server for data modifications once in a while.

I created a buffered store and grid that uses it and every 20 seconds I use store.reload() to reload data. The problem is that reload doesn't see store property "options" and that's why it doesn't reload only current page, but the whole store. I used at the beginning store.loadPage(1) and it seems that this method doesnt assign options object to store. Is this correct?

Why then "reload" method in buffered store is looking for the "options" parameter in order to limit number of pages loaded?

What I need is to "reload" just reload current page (maybe prefetch pages that should be prefetched) and leave scroll at the same position. Now it just creates request for every page of the store...

Is it a bug?

Best regards,

Gary Schlosberg
29 Aug 2013, 4:32 PM
Looks like this is a known bug: