Column.setForeColor

Overview | Methods | This Package | All Packages

Column.setForeColor

Sets the color of the text in the column.

Syntax

public void setForeColor( Color color )

Parameters

color

A Color object that represents the color of the text in the column.

Remarks

Call setForeColor to override the default text color set by the parent DataGrid control. To later return to this default, pass null to setForeColor.

To set the color of text for cells that are selected, call setSelectedForeColor.

See Also   getForeColor, shouldPersistForeColor