SelectedRow Property (JTable)

Class

JTable class

Action

Gets the index of the selected row, -1 (4Test: 0) is returned if no row is selected. The value is one-based.

If multiple row selection is allowed, returns the index of the first selected row.

Data Type

INTEGER

Access

Read only

Examples

INTEGER iSelectedReow = Table.SelectedRow