PDA

View Full Version : Ext.PagingToolbar vs Ext Designer



john.dunlap
12 Jun 2010, 4:31 PM
I am attempting to use Ext.PagingToolbar in the Ext Designer. The issue that I am facing is that I cannot set the autoLoad property to be something other than true or false and I cannot do that because the store's .js file is overwritten each and every time I export. I need to set autoLoad to the following,

autoLoad: {params: {start: 0, limit: 50}},

If I do not do this, the start and limit post parameters are never sent to the server. The Ext Deginer ui does not allow me to set autoLoad to something other than true or false.

Any thoughts?

jarrednicholls
13 Jun 2010, 4:12 PM
You can set the baseParams instead. If you need to null those params out after the first load, attach to the load event of the store and make baseParams null.

Hope that helps.