Returns the number of the currently selected row. To get data for this row, you can use the getValue method.
external int getSelection();