I am trying make the an editable grid to uneditable depend on conditions.
I have tried in jquery as below
var $grid = &(\"#gridName\").data(\"ken
If you're using "incell" edit mode, the grid has an "edit" event you could use to immediately close the cell.
$("#grid").kendoGrid({
...
edit: function(e) {
if ( ... ) {
this.closeCell();
}
}
...
});
A more powerful approach would be to subclass the kendoGrid and override the editCell and/or editRow methods. Then you can do whatever you want. Look here for info on subclassing kendo widgets.