Column.setSelectedForeColor

Overview | Methods | This Package | All Packages

Column.setSelectedForeColor

Sets the color for selected text in the column.

Syntax

public void setSelectedForeColor( Color color )

Parameters

color

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

Remarks

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

To set the color of text that it is not selected, call setForeColor.

See Also   getSelectedForeColor, shouldPersistSelectedForeColor