i am using checkboxmodel plugin for a checkbox column.But, what i want is that 'if i check a column some cells of that row will be editable'...i searched a lot but no luck.I am working with MVC pattern and because of the plugin i dont know how to handle it
/**Grid View**/
plugins: [
Ext.create('Ext.grid.plugin.CellEditing', {
clicksToEdit: 2
})
],
selType: 'cellmodel',
selModel: Ext.create('Ext.selection.CheckboxModel', {
checkOnly: true,
listeners: {
selectionchange: function(model, records) {
if (records[0]) {
//make any cell of a field editable
}
}
}
}),
{
header:'name',
dataIndex:'name'},
{
header:'Quantity',
dataIndex:'quantity',
}
here if i check any row i want to make the grid's quantity field editable...This would be nice if someone can help...