returns the current cursor position.
data.getCursor();
The cursor position is the ID of an item that the cursor is set on, not the item index.