Reputation: 21
In kendo grid , i want to insert/add new row when TAB key is pressed from last editable column. Please help me to achieve this functionality.
Upvotes: 1
Views: 504
Reputation: 3268
Use grid.addRow() which adds an empty row.
var grid = $("#grid").data("kendoGrid");
grid.addRow();
You will have to bind the keyUp action from the last editable column to get the "Tab" key.
Upvotes: 1