Pending Review
Last Updated: 08 Jan 2026 15:07 by Daniel
Daniel
Created on: 08 Jan 2026 15:07
Category: Kendo UI for jQuery
Type: Bug Report
0
The "Save changes" and "Cancel changes" buttons do not appear on Grids with both selection and batch enabled when clicking on a cell where edit is disabled

If you create a grid with editable set to true, selectable set to one of the multiple options ("multiple, row" or "multiple, cell"), batch set to true and a column with editing disabled (either through the model or through the columns editable property), then when you update an editable cell and click the non-editable cell in the same row the "Save changes" and "Cancel changes" buttons do not appear.

See https://dojo.telerik.com/zAKmmTEU and attached example.html.zip

Notes:

Editable is disabled using a JavaScript function for UnitsInStock

{ field: "UnitsInStock", title: "Units In Stock", width: 120, editable: function() { return false; } },

Editable is set to false in the schema model for Discontinued

Discontinued: { type: "boolean", editable: false },

 

In this example, if you change the value of a UnitPrice cell and then click one of the non-editable cells (UnitsInStock or Discontinued) in the same row, the UnitPrice cell will be marked as dirty, but the "Save changes" and "Cancel changes" buttons will not appear.

This appears to happen because of the following:

  • The focusout event is triggered on the grid.
  • The closeCell method is called from the tap event registered on the cell.
  • The _destroyEditable method is called within the closeCell method.
  • The _editContainer field is set to null in the _destroyEditable method.
  • The closeCell method is called again from within the editCell method but returns early because the _editContainer field is null.
  • The timeout anonymous method from the focusout event handler is called, but the _toggleToolbarEditingItemsVisibility method is not called because _editContainer is null.

Stack trace:

n (kendo.all.min.js:9)
_destroyEditable (kendo.all.min.js:9)
closeCell (kendo.all.min.js:9)
tap (kendo.all.min.js:9)
trigger (kendo.all.min.js:9)
_click (kendo.all.min.js:9)
i.<computed> (kendo.all.min.js:9)
dispatch (jquery.js:5430)
elemData.handle (jquery.js:5234)

See attached image.png for an example image.

 

 

Attached Files:
0 comments