How to get the current line that has been edited, even if it is not selected? I have a Kendo grid with batch which is navigatable . My goal is to manually edit the data in a column using the dataItem.set() method. However, when you add a row, it is not automatically selected. Therefore, vm.testGrid.dataItem(vm.testGrid.select()) cannot be used.
vm.testGrid.dataSource.get(e.model.get("Id")) gets the new row added, but if several rows were added before saving, it will always have the first row added ("Id" is set to auto increment and automatically created by the database server, so all newly created rows will first have 0 before saving).
vm.onEdit = function (e) { $('input.k-input.k-textbox').blur(function (f) {
Is there a better solution for getting the line that was currently being edited? Or is there a better way to edit the current line?
source share