PDA

View Full Version : PagingToolbar in store of 'memory' proxy type



Ronits
27 Aug 2012, 9:51 PM
Hi,
Implemented pagingtoolbar in ExtJS grid.Panel, with proxy of store, being 'ajax'. Pagination was working fine.
However, I needed to associate the same grid data, to a temporary store, of 'memory' proxy type. But, pagingtoolbar stopped working, and was showing 'No data to display' even when there was data in grid.
What I understood is, since the store type was memory, and it is volatile, pagination seems to break.
Are there any options to put some config, like , 'buffered' , so that pagination works for stores of memory proxy type.

Please help.

scottmartin
30 Aug 2012, 6:52 PM
Have a look at: PagingMemoryProxy
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.ux.data.PagingMemoryProxy

Scott