Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

DataGrid.getColumn

Retrieves the column at the specified index.

Syntax

public Column getColumn( int index )

Parameters

index

The zero-based index of the column to be retrieved. A column's index indicates its position in the grid. The index of the last column is the value returned by getColumnCount minus 1. For more information, see the index property for Column objects.

Return Value

Returns a Column object that represents the column at the specified index.

Exceptions

WFCInvalidArgumentException thrown if index is not a valid column index.

Remarks

To retrieve all columns in the grid, call getColumns.