View Full Version : How to do paging on cached data?

25 Feb 2009, 7:48 PM
Hey all this is my first project im using Extjs and im finding it very useful im currently faced with a problem though. I need to create a dynamic page which builds a JSON object on page load and places it on the page. I can get a normal EXTJS grid to read the json object no problem but when i introduce paging im faced with the issue that when i call.

store.load({params: { start: 0, limit: 10} });

the page just keeps spinning and i aventually get a error message stating.

"this.proxy is undefined
chrome://firebug/content/blank.gifExt.DomHelper=function(){var n=null;var ...(Ext.History,new Ext.util.Observable());"

The demo im following: http://extjs.com/deploy/dev/examples/grid/paging.html

any ideas how i can populate the JSONStore object with the data and then have the grid do paging with out having to call a page or anything? my goal is to reuse this json object as it wont need to be refreshed.... etc...

any ideas?

26 Feb 2009, 4:08 AM
Search the forums for paging memory proxy or 'pagingmemoryproxy'