PDA

View Full Version : Paging Problem on reload JSON Store



psm1963
5 Sep 2010, 11:57 AM
AStore is a JsonStore.
AStore.lastQuery = null;
AStore.lastOptions = null;
AStore.proxy.setUrl(dataurl);
// AStore.proxy.url = dataurl;
// suggested in the FAQ
// AStore.proxy.conn.url = dataurl;
// suggested in the FAQ AStore.reload();

This code will load the store anew, but paging still won't work.

Any ideas what is wrong I tried the hints provided in the faq but I still cannot page

Condor
6 Sep 2010, 1:37 AM
Not enough information.

General note: When using a store for paging, your own parameters should be in baseParams and only 'start' and 'limit' should be in params.