Posts

Showing posts with the label kendo-grid

Get the field that is going to be edited in kendo beforeedit event

Get the field that is going to be edited in kendo beforeedit event I have a dependent column that needs to be editable based on value of the first cell. How can do this using the beforeedit event of kendo grid. I wish to avoid closing the cell in edit event of kendo grid. Below is a sample https://dojo.telerik.com/enodEwub 1 Answer 1 In order to achieve this when "Inline" edit mode is used you can use the Grid's cancelRow() method. $("#grid").kendoGrid({ //.... edit: onEdit }); function onEdit(e) { //your custom logic $('#grid').data("kendoGrid").cancelRow(); } Hope that helps! grid seems to break. dojo.telerik.com/enodEwub – Jose Tuttu Jul 2 at 11:40 Also, cancelRow is sup...