IsColumnSelected Method (JTable)

Class

JTable.

Action

Returns true if the specified column is selected.

Syntax

C#
columnSelected = table.IsColumnSelected(column)
VB
columnSelected = table.IsColumnSelected(column)
Variable Description
columnSelected True if the column is selected; otherwise false. Boolean.
column The name or index of the column. ItemIdentifier.

Examples

VB

Dim isColumnSelected As Boolean = table.IsColumnSelected("Product Name")
isColumnSelected = table.IsColumnSelected(3)