1
我有JSON:如何讓ExtJS的JSON財產
{ 「文件」:[{ 「Name」: 「1」, 「大小」: 「329」},{ 「名」:」春」, 「大小」: 「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'
]
})
});
存儲如何有我改變jsonReader得到JSON財產「路徑」? 我該如何打印?
儘量準確一點更多你想要達到的目標 – SBUJOLD 2010-06-23 14:01:31