Is there a way to temporarily disable the edit functionality on the grid? I tried setting editable to false on a previously editable grid, but it didn't pick up the new configuration change.
1 Answer, 1 is accepted
0
Dimo
Telerik team
answered on 29 Jan 2014, 11:59 AM
Hi Benny,
Disabling the edit functionality of the Grid in its core would require detaching and attaching event handlers, which is cumbersome and requires extensive knowledge of the Grid source code. An easier option is to hide all edit buttons or the command column. For example
$("#grid .k-grid-content .k-button").hide()
$("#grid").data("kendoGrid").hideColumn(4);
In case you are using in-cell editing, your only option is to subscribe to the edit event and execute closeCell in the handler.