I have a grid using InLine edit mode with the Command buttons Edit and Delete in column 0. When I add a new row I need the focus to change go column 1 (0 is the buttons). Right now the focus goes to the Update button and it takes 2 tabs to move to column 1. How can I move focus to column 1?
I have tried the following and it does not work.
$('#grid').find('td').eq(0).removeClass("k-state-selected").removeClass("k-state-focused");
$('#grid').find('td').eq(1).addClass("k-state-selected").addClass("k-state-focused").addClass("gridFieldEdit");
$("#grid_active_cell")
or
var grid = $("#grid").data("kendoGrid");
theCell = $('#grid tbody td:eq(1)');
grid.current(theCell);
Help!
Thanks in advance for your help.
I have tried the following and it does not work.
$('#grid').find('td').eq(0).removeClass("k-state-selected").removeClass("k-state-focused");
$('#grid').find('td').eq(1).addClass("k-state-selected").addClass("k-state-focused").addClass("gridFieldEdit");
$("#grid_active_cell")
or
var grid = $("#grid").data("kendoGrid");
theCell = $('#grid tbody td:eq(1)');
grid.current(theCell);
Help!
Thanks in advance for your help.