this.grid is undefined
在做一个选择框的时候需要用到ext的CheckboxSelectionModel
以下是错误代码:
这样界面可以显示,但是只要点击checkbox就会报出this.grid is undefined这个错误,其实
selModel : Object
Any subclass of
Ext.grid.AbstractSelectionModel that will providethe selection model for the grid (defaults to
Ext.grid.RowSelectionModel if not specified).
|