0

当我创建一个Ext.grid.GridPanel对象并调用this.getView().refresh(false)时,我可以获得 gridPanel.GridView ,但错误是:

this.grid is undefined

GridView 没有网格。这是代码:

Ext.extend(Erms.user.EventUserPanel, Ext.grid.GridPanel, { loadData : function() {
   this.getStore().reload({ params : { start : 0, limit : 2 } });
   this.getView().refresh(false);
}});
4

0 回答 0