-
21 May 2011 9:59 PM #1
Disable paging parameters
Disable paging parameters
Hi
Is there a way to configure a store that he does not send the paging parameters.
If have this simple model and store objects
The store sends this json request with the parameters "page", "start" and "limit".Code:Ext.define('State', {extend : 'Ext.data.Model', fields : [ 'state' ], proxy : {type : 'direct', directFn : stateAction.getStates} }); var store = Ext.create('Ext.data.Store', { autoLoad : true, model : 'State'});
I don't need paging in this store. Is there a way to disable sending these parameters? It's not a big problem because the server method can simply ignore these parameters and send everything back.Code:{"action":"stateAction","method":"getStates","data":[{"query":"","page":1,"start":0,"limit":25}],"type":"rpc","tid":3}
Ralph
-
10 Jun 2011 7:30 AM #2
+1, need more control over the parameters send
annoying stuff...
You could set pageSize to 99999999 or so....
Jash
-
9 Oct 2011 12:50 AM #3
No reply or solution about this issue? I find annoying too
-
19 Nov 2011 7:59 AM #4
-
4 Dec 2011 2:37 PM #5
I'd like to know the answer to this too. It looks like this ability may be missing. It would be good to at least have that confirmed so we can add a feature request.
-
8 Dec 2011 1:10 PM #6
Code:proxy: { type: 'direct', directFn: direct.function, filterParam: undefined, groupParam: undefined, pageParam: undefined, startParam: undefined, sortParam: undefined, limitParam: undefined, }Last edited by bcrowder; 8 Dec 2011 at 1:11 PM. Reason: add code blocks.


Reply With Quote