Categories | Question details Back To List | ||
Row Selection 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. Answer posted by Support on Jun 09, 2008 06:49 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); |