Ext gridView无法刷新

时间:2012-08-15 09:49:30

标签: gridview extjs refresh gridpanel

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

0 个答案:

没有答案