SelectedColumn Property (JTable)

Class

JTable.

Action

Gets the index or name of the selected column. -1 (4Test: 0) is returned if no column is selected.

If multiple column selection is allowed, returns the index or name of the first selected column.

Syntax

'Declaration
Protected Read Property SelectedColumn As ItemIdentifier

Access

Read only.

Examples

Dim selectedColumn As String = table.SelectedColumn