We are trying to work off of this example: http://dev.sencha.com/deploy/ext-4.0.1/examples/grid/buffer-grid.html
e.g. in the store:
// create the Data Store
var store = Ext.create('Ext.data.Store', {
id: 'store',
pageSize: 50,
// allow the grid to interact with the paging scroller by buffering
buffered: true,
// never purge any data, we prefetch all up front
purgePageCount: 0,
model: 'ForumThread',
proxy: {
type: 'memory'
}
});
//and in the grid:
...
store: store,
verticalScroller: {
xtype: 'paginggridscroller',
activePrefetch: false
},
loadMask: true,
...
But when we scroll past pageSize records in the grid, we get a long pause which is more than just the next set of records being rendered -- the store itself is reloading the data from our web service. A call to our web service loads ALL of the data and we don't want it to get re-loaded when the user scrolls. We want the RENDERING to be buffered, but not the data loading, just like the example states "his example illustrates loading of all the records up front and buffering the rendering." Primarily because we want to avoid moving sorting and ordering to the server at this point but also for performance. Yet we also don't want everything rendering right away because that leads to the dreaded long running javascript error in IE8. Any thoughts on what could be causing the store to re-query the data source in this mode?