kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

The InLine editing of the TreeList does not work when the Drag-and-Drop feature is enabled

Open kendo-bot opened this issue 2 years ago • 1 comments

Bug report

When the Drag-and-Drop functionality is enabled, the Update operation is not triggered when editing an existing item.

Reproduction of the problem

  1. Create an InLine editable TreeList;

  2. Enable the dragging and dropping of the rows;

  3. Edit an existing record and click the "Update" command. If you click at the span element "k-button-text", the Update request does not trigger. If you click outside of this element, the request triggers as expected.

A Dojo sample for reproduction: https://dojo.telerik.com/UQuzAnUN

Expected/desired behavior

The "InLine" editing should work when the "move" option is enabled.

Environment

  • **Kendo UI version: 2022.2.802
  • **jQuery version: 1.12.4
  • **Browser: [all]

kendo-bot avatar Aug 05 '22 14:08 kendo-bot

Issue also present in InCell editing where blurring the edited cell with a mouse click doesn't update the Model as dirty.

Dojo: https://dojo.telerik.com/@Stoyan/ASufotur

StoyanGoranov avatar Aug 08 '22 13:08 StoyanGoranov

Also reported in ticket 1592018

aleksandarevangelatov avatar Jan 02 '23 09:01 aleksandarevangelatov

Reported also #1605671

Workaround

       `edit: function(e) {
          let updateButton = e.container.find(".k-grid-update"),
              updateButtonText = updateButton.find("span.k-button-text");
          updateButtonText.remove();
        }`

Dojo: https://dojo.telerik.com/UQuzAnUN/2

NikoPenev21 avatar Apr 20 '23 10:04 NikoPenev21

Seems to be working fine with the latest version

ag-petrov avatar Feb 23 '24 11:02 ag-petrov