View Full Version : Adding checkcolumn dynamically

27 May 2014, 6:26 AM
How can I add a checkcolumn to a grid dynamically? I've created an example but the checkbox is not appearing. Please see the following link http://jsfiddle.net/Guido_Neele/MTWw4/

27 May 2014, 11:53 PM
Had to use Ext.grid.column.CheckColumn instead of Ext.grid.column.Column with xtype checkcolumn.

var column = Ext.create('Ext.grid.column.CheckColumn', {
cls: 'cmp',
width: 50,
resizable: false,
dataIndex: "cb2",
hideable: false,
menuDisabled: true,
text: "Test",
sortable: false