In extjs3.x I used the stores baseParams
config property to specify parameters used to load the store.
This property no longer exists in extjs 4. What should I do instead of this?
Also in extjs3 I was able to specify wether the stores proxy was a GET
or a POST
method by using the proxy method
config property. What should I do instead of this?
My ExtJs 3 code ->
var store = new Ext.data.JsonStore({
root: 'Data',
baseParams: {
StartDate: '',
EndDate: '''
},//baseParams
proxy: new Ext.data.HttpProxy({
url: 'Time/Timesheet',
method: 'POST'
})//proxy
});//new Ext.data.JsonStore