当我尝试使用以下代码将检查列添加到网格时
this.entitlementColModel = new Ext.grid.ColumnModel([new Ext.grid.RowNumberer(), {
header : 'CIF',
dataIndex : 'cif',
width : 80,
editor : new Ext.form.TextField({
maxLength : 20,
allowBlank : false
}),
editable : true
}, new Ext.grid.CheckColumn({
header: 'AML',
dataIndex: 'amlActive',
resizable:false,
width: 25,
onMouseDown : function(e, t){}
})]);
收到以下错误
Uncaught TypeError: Ext.grid.CheckColumn is not a constructor
也试过xtype: 'checkcolumn',
它也不起作用。我目前无法升级 ext 版本。在 2.2 版中是否有任何替代方法?