All the cells in my grid are editable initially.
I want to disable cell editing for certain cells based on a value.
How can this be done?
I have the trigger setup as follows:
dataBound: function() {
$('td').each(function() {
if ($(this).children('span').data('route') == 2) {
$(this).css('background', '#CCC')
// Disable cell editing for this cell
}
})
},
All I need to know is what the line is to set the parameter for this cell to editable: false, e.g. this.something.editable = false