PDA

View Full Version : I can't get Ext.grid.plugin.CellEditing checkbox to render selected



actualeyes
11 Jan 2012, 3:07 AM
I have been trying to get a grid collumn to be editable as a checkbox and to have it render as selected when clicked. However, no matter what I do, it doesn't work. Does anyone know how to make this happen. Here's what my checkbox column looks like:


{
text: 'blank',
width: 120,
sortable: true,
align: 'right',
dataIndex: 'blank',
flex: 1,
field: {
xtype: 'checkbox',
checked: true
}
},

tobiu
11 Jan 2012, 7:57 AM
what is field supposed to be? editor?

actualeyes
11 Jan 2012, 8:38 AM
Yes it's an editor. It just doesn't render as selected.