Column.setVisible

Overview | Methods | This Package | All Packages

Column.setVisible

Sets a boolean value indicating whether the column is visible (meaning it can be scrolled into view).

Syntax

public void setVisible( boolean visible )

Parameters

visible

Set to true to allow the column to be visible; set to false to hide the column. The default value of the visible property is true.

Remarks

Setting the visible property to false simply hides the column in the grid. The column still has an index, and is included in the value of the parent DataGrid control's columnCount property.

To actually remove a column from the grid, call the DataGrid control's removeColumn method.

See Also   getVisible