在extjs3.x中,我使用stores的baseParams
配置属性来指定用于加载存储的参数。
这个属性在extjs 4中已经不存在了,我应该怎么做来代替它呢?
另外,在extjs3中,我可以通过使用代理method
配置属性来指定存储代理是GET
还是POST
方法。我应该怎么做而不是这样呢?
我的ExtJs3代码->
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
https://stackoverflow.com/questions/6060947
复制相似问题