ayling520
2012-03-13 18:51extjs4.0,store自动加载时,能否传参数。
[code="java"]
autoLoad : true,
proxy : {
type : 'rest',
// 通过拼接url的方式不太友好。
// url : 'api/machine/device?organization='+ewayUser.organizationId,
url : 'api/machine/device',
reader : {
type : 'json',
root : 'data'
},
params : {
organization : ewayUser.organizationId
}
}
[/code]
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- extjs4.0,store自动加载时,能否传参数。
- extjs
- 0个回答
- 这是网上找的extjs3.4的代码(可以运行),需要做哪些更改升级为4.2的,谢谢大神们。学习当中
- net
- extjs
- mvc
- 3个回答