When I create an Ext.grid.GridPanel
object and call this.getView().refresh(false)
, I can get the gridPanel.GridView , but the error is:
this.grid is undefined
The GridView has no grid. Here is the code:
Ext.extend(Erms.user.EventUserPanel, Ext.grid.GridPanel, { loadData : function() {
this.getStore().reload({ params : { start : 0, limit : 2 } });
this.getView().refresh(false);
}});