ext4中将store重新赋值的有关问题

ext4中将store重新赋值的问题其中,youGrid.getStore()是得到需要修改的store.?var recordDatas []Ext.A

ext4中将store重新赋值的问题

其中,youGrid.getStore()是得到需要修改的store.

?

var recordDatas = [];
Ext.Array.each(newStore.getRange(), function(record){
????? recordDatas.push(record.data);
??????????????????????? });
youGrid.getStore().removeAll();
youGrid.getStore().loadData(recordData);