Hi There,
I have tried following function to save the grid value on Enter click.
$("#tvmModuleGrid table").on("keyup", "tr", function (e) {
var grid = $("#tvmModuleGrid").data("kendoGrid");
var code = (e.keyCode ? e.keyCode : e.which);
if (code == 13) { //Enter keycode
$(e.srcElement).closest("tbody").focus();
setTimeout(function () {
grid.saveRow();
})
}
})
: I have also tried the same on keydown event, and also tried gridEdit mode before firing the saveRow.
Please let me know what I'm missing. I have read and tried a lot of option for this. I'm looking forward to your response.
Thanks,
Jitender