I know that you can set the cursor position like this:
grist.setCursorPos({rowId: 45});
I want to create a button that selects the following record. I would like to do domething like:
grist.setCursorPos({rowIndex: currentRowIndex + 1});
How to get the currentRowIndex
in a custom widget?