怎樣將數組轉換為extjs中的 store
怎樣將數組轉換為extjs中的 store?
慕蓋茨4494581
2019-02-04 19:06:23
TA貢獻1828條經驗 獲得超3個贊
var store = new Ext.data.Store({id: 'item1', text: 'item1text'}, {id: 'item1', text: 'item1text'});
每個元素的內容寫在大括號內,各個大括號用逗號隔開即可
舉報