BaseTableControl.getVisibleRow

Returns the row number of the first row currently visible to the user i.e. the first row in the current scroll set. Returns -1 when the table is empty.

Further documentation.

returns int