We have a grid with an action button in the column. When the user clicks the button this code executes.
The selected row index value is now in the selectedIndex variable.
I would like to then be able to do grid.select(selectedIndex +1).
However, when I do this the selected row is the one above as opposed to below the currently selected row.
How can I achieve what I am looking to do?