kendo-ui-core
kendo-ui-core copied to clipboard
The InLine editing of the TreeList does not work when the Drag-and-Drop feature is enabled
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
-
Create an InLine editable TreeList;
-
Enable the dragging and dropping of the rows;
-
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]
Issue also present in InCell editing where blurring the edited cell with a mouse click doesn't update the Model as dirty.
Also reported in ticket 1592018
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
Seems to be working fine with the latest version