1
내가 JSON있다 : "329"}, { "이름":에 extjs에서 JSON 속성을 가져 오는 방법을
{ "파일": [{ "이름": "1", "크기"를 " 봄 ","크기 ":"153 "},"경로 ":"C : 프로그램 \ "}
및 jsonReader
var fileListStore = new Ext.data.Store({
proxy: new Ext.data.HttpProxy(connection),
baseParams: {
path: '',
action: ''
},
storeId: 'fileListStore',
autoLoad: true,
remoteSort: true,
reader: new Ext.data.JsonReader({
root: 'files',
fields: [
'name',
'size'
]
})
});
로 저장은 어떻게 JSON을 얻을 jsonReader을 변경해야 속성 '경로'? 어떻게 인쇄 할 수 있습니까?
시도를 달성하려는 바를 더 많이 – SBUJOLD