Set Focus to row/cell
In our cell validation event we do the following
hold_indices = grid.getRowIndices();
hold_row_count = grid.getRowCount();
hold_current_row = grid.getCurrentRow();
//
itterate columns etc.
//
grid.setRowIndices(hold_indices);
grid.setRowCount(hold_row_count);
grid.setCurrentRow(hold_current_row);
grid.setCurrentCol(1);
grid.focus();
PROBLEM: Grid Cell is no longer in focus so keyboard input is ignored UNLESS one mouse clicks the cell.
Please advise how to set focus to cell ready for keyboard input ?
Thanks
hold_indices = grid.getRowIndices();
hold_row_count = grid.getRowCount();
hold_current_row = grid.getCurrentRow();
//
itterate columns etc.
//
grid.setRowIndices(hold_indices);
grid.setRowCount(hold_row_count);
grid.setCurrentRow(hold_current_row);
grid.setCurrentCol(1);
grid.focus();
PROBLEM: Grid Cell is no longer in focus so keyboard input is ignored UNLESS one mouse clicks the cell.
Please advise how to set focus to cell ready for keyboard input ?
Thanks
March 28,