I am Trying to select a kendo Grid Row .when press "ENTER" key.
i tried below code:
("#grid").data("kendoGrid").table.focus();
this actually selects the table and focus to the cell.
But i want to select whole row.
By Simply add this you can achieve this....try once..
var selectFirstColumnOfKendoGrid = function () {
var grid = $("#kendogrid").data("kendoGrid");
var firstCell = grid.table.find("tr:first td:first");
grid.current(firstCell);
grid.table.focus();
$('body').animate({ scrollTop: 0 }, 0);
}
in my app kendogrid is the id ...