Maybe I’m just missing something here, but the API has MoveRowUp and MoveRowDown, is there something equivalent to this for selecting a row? I have to have buttons that says select next and previous, but I don’t see a corresponding method in the API.
Thanks.
There are no special commands for such task , but it can be done as
var current = grid.getSelectedId();
if (!current) return;
//select next
grid.selectRow(grid.getRowIndex(current)+1);
//select previous
grid.selectRow(grid.getRowIndex(current)-1);