extjs中怎样向gridPanal加数据?
1个回答
2013-06-14
展开全部
var myData = [
['2008-08-05 12:11:11',0.03],
['2008-09-06 12:07:19',1.63]
];
store.loadData(myData);
var grideast = new Ext.grid.GridPanel({
store: store,
})
重新创建myData数组,再调用 store.loadData(myData);就行。
['2008-08-05 12:11:11',0.03],
['2008-09-06 12:07:19',1.63]
];
store.loadData(myData);
var grideast = new Ext.grid.GridPanel({
store: store,
})
重新创建myData数组,再调用 store.loadData(myData);就行。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询