.
when i run the reduced test case without check column it works perfectly fyn but as I include a checkcolumn in my grid panel it creates an error of type : name is undefined.
.
.
here is my view panel code :
Ext.define('JS.view.User.AcgCenterModules',{
extend: 'Ext.grid.Panel',
alias : 'widget.acgcentermodules',
store : 'AcgCenterModulesStore',
autoScroll : true,
columnLines : true,
layout: 'fit',
plugins: [
{
ptype: 'cellediting',
clickToEdit: 2
}
],
columns: [{
text: 'Modules',
dataIndex: 'modules',
width: 150,
height: 40,
name: 'modules'
},{
text : 'Access Rights',
columns : [{
xtype: 'checkcolumn',////HERE PROGRAM EXECUTION STOPS.
text: 'Select All',
id: 'selectall',
dataIndex: 'selectall',
width: 110,
height: 40,
name: 'selectall',
editor:'checkbox'
},{
xtype: 'checkcolumn',
text: 'Create',
dataIndex: 'create',
width: 110,
height: 40,
name: 'create',
editor:'checkbox'
},{
xtype: 'checkcolumn',
text: 'Read',
dataIndex: 'read',
width: 110,
height: 40,
name: 'read',
editor:'checkbox'
},{
xtype: 'checkcolumn',
text: 'Update',
dataIndex: 'update',
width: 110,
height: 40,
name: 'update',
editor:'checkbox'
},{
xtype: 'checkcolumn',
text: 'Delete',
dataIndex: 'delete',
width: 110,
height: 40,
name: 'delete',
editor:'checkbox'
}]
}],
bbar: [,'->',{
iconCls: 'save',
tooltip: 'Save',
text: 'Save',
action: 'Save'
}],
initComponent: function()
{
this.cellediting = Ext.create('Ext.grid.plugin.RowEditing');
Ext.apply(this, {
plugins: [this.cellediting]
});
this.callParent(arguments);
}
});
Is this a bug..? or i am making mistake somewhere....Please let me know and help me out.
.
Thanks In Advance.