Hello,
I have a grid with the navigation option, for navigation between cells by Tab
I want to define on page loaded that first cell in the grid will be in focus,
from which onwards the user can navigate by using the Tab key in the grid.
You can see below the function
that chooses the first cell
But,
in IE it works, in the chrome browser it does not work.
in Chrome browser it's look that the first cell in focus (is getting gray border)
But the first navigation by Tab is not in the grid, it in the top menu
Not as desired within the grid itself.
call from dataBound function:
selectRowFirst(this);
function selectRowFirst(grid) {
//select row in grid after bind
var rowNo =0;
var row = grid.tbody.find("tr[role='row']:eq(" + rowNo + ")");
grid.select(row);
var firstCell = grid.tbody.find("tr[role='row']:eq(" + rowNo + ")" + " td:eq(1)");
grid.current(firstCell);
firstCell.focus();
}
By the way, I tried to attach a sample project I attached before, but I could not
It seems you have changed the attachment size limit is very small.
If you have another way I can send it to be excellent.
I have a grid with the navigation option, for navigation between cells by Tab
I want to define on page loaded that first cell in the grid will be in focus,
from which onwards the user can navigate by using the Tab key in the grid.
You can see below the function
that chooses the first cell
But,
in IE it works, in the chrome browser it does not work.
in Chrome browser it's look that the first cell in focus (is getting gray border)
But the first navigation by Tab is not in the grid, it in the top menu
Not as desired within the grid itself.
call from dataBound function:
selectRowFirst(this);
function selectRowFirst(grid) {
//select row in grid after bind
var rowNo =0;
var row = grid.tbody.find("tr[role='row']:eq(" + rowNo + ")");
grid.select(row);
var firstCell = grid.tbody.find("tr[role='row']:eq(" + rowNo + ")" + " td:eq(1)");
grid.current(firstCell);
firstCell.focus();
}
By the way, I tried to attach a sample project I attached before, but I could not
It seems you have changed the attachment size limit is very small.
If you have another way I can send it to be excellent.