当我创建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);
}});