Hello Aravind,
I believe this thread has drastically diverged from the original topic. Please open a separate thread the issues which you describe.
The `Enter` key doesn't work due the follwing keyup handler:
$(tbl).on("keyup", function (e) {
e.preventDefault();
var keycode = (e.keyCode ? e.keyCode : e.which);
if(keycode == '13'){
var grid = $(tbl).data("kendoGrid");
var rnum = $($(n).find("#aria_active_cell")).closest("tr").index()+1;
console.log(rnum);
var totalrows = $(tbl).data("kendoGrid").dataSource.total();
console.log(totalrows);
if(rnum==totalrows){
grid.addRow();
}else{
//alert("testing");
var x = $($(n).find(".stocks_tbl"))[0];//console.log(x);
grid.editCell($("x td:eq(7)"));
}
}
});
I'm not sure what's the purpose for this implementation.
Regards,
Nikolay Rusev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!