DataGrid.removeColumn

Overview | Methods | Fields | This Package | All Packages

DataGrid.removeColumn

Removes a column from the grid.

Syntax

public void removeColumn( int index )

Parameters

index

The zero-based index of the column to be removed. 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.

Exceptions

WFCInvalidArgumentException thrown if index is not a valid column index.

Remarks

To remove all columns from the grid, call clearColumns.

See Also   addColumn