How can i enable grid cell editing only after clicking checkbox in the same row.
var simpsonPanel = Ext.create('Ext.grid.Panel', {
title: 'Simpsons',
//selType: 'checkboxmodel',
forceFit:true,
plugins: [
Ext.create('Ext.grid.plugin.CellEditing', {
clicksToEdit: 1
})],
store: Ext.data.StoreManager.lookup('simpsonsStore'),
columns: [
{
xtype: 'checkcolumn',
// text: 'Phase 9',
dataIndex:'Phase9',
listeners: {
checkChange: onCheckChange
}},
{ text: 'Name', dataIndex: 'name'},
{ text: 'Email', dataIndex: 'email' },
{ text: 'Phone', dataIndex: 'phone' }
],
height: 200,
width: 400
});
total code https://fiddle.sencha.com/#fiddle/18c0.
after clicking checkbox i need enable name cell for edit. if the checkbox is not selected then user cannot edit the name cell.
Thanks