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

C#
protected ItemIdentifier SelectedColumn { get; }
VB
'Declaration
Protected Read Property SelectedColumn As ItemIdentifier

Access

Read only.

Examples

VB

Dim selectedColumn As String = table.SelectedColumn