extjs 中store和ComboBox结合使用的疑问 70
{"errors":"","frf.PersonalApply.pageObject":{"result":[{"deliver":"王五"},{"deliver":""...
{
"errors": "",
"frf.PersonalApply.pageObject": {
"result": [
{"deliver": "王五"},
{"deliver": ""},
{"deliver": "张三"},
{"deliver": "李四"}
],
"totalPageCount": 1,
"totalCount": 69275,
"pageSize": -1,
"currentPageNo": 1
},
"resultCode": "success"
}
在extjs中store获取到的JSON数据是这样的,我现在想取result里的数据做为ComboBoxdisplayField键、valueField值,并将deliver值为空的去除,store中要如何写root和fields?? 展开
"errors": "",
"frf.PersonalApply.pageObject": {
"result": [
{"deliver": "王五"},
{"deliver": ""},
{"deliver": "张三"},
{"deliver": "李四"}
],
"totalPageCount": 1,
"totalCount": 69275,
"pageSize": -1,
"currentPageNo": 1
},
"resultCode": "success"
}
在extjs中store获取到的JSON数据是这样的,我现在想取result里的数据做为ComboBoxdisplayField键、valueField值,并将deliver值为空的去除,store中要如何写root和fields?? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询