jsonstore:{"totalCount":"3","JData":[{"UserID":"1","UserName":"12313"},{"UserID":"17","UserName":"123156456"},{"UserID":"18","UserName":"123123123"}]}
store fields: [ 'UserID', { name: 'UserName ', type: 'string'}]
grid cm:[ { header: "UserID", dataIndex: 'UserID', sortable: true },
{ header: "UserName", dataIndex: 'UserName', sortable: true}]
数据源和栏位名完全一致,为何还是取不到值?
贴出来的这个代码应该是多的,是否是js文件有问题,如,等
可以使用extjs的那个sample对照一下,例子中有这样的完整代码