Hi. I have an editable grid in batch edit mode.
When I press enter on selected cell the cell switches to edit mode.
Is it possible to switch to edit mode and start writing on any key press like in the spreadsheet component?
Thanks and best regards
1 Answer, 1 is accepted
0
Viktor Tachev
Telerik team
answered on 13 Feb 2019, 11:42 AM
Hello Renke,
In order to implement the functionality I would suggest handling the keydown event for the Grid. When the event is raised get reference of the currently focused cell can call the editCell method for it.
$("#grid").on("keydown", function(e) {
var grid = $("#grid").getKendoGrid();
grid.editCell("td.k-state-focused");
});
Check out the dojo below that illustrates the approach:
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.