DataGrid.setHeaderLineCount

Overview | Methods | Fields | This Package | All Packages

DataGrid.setHeaderLineCount

Sets the number of lines of text that can be displayed in the grid's column headers.

Syntax

public void setHeaderLineCount( int lines )

Parameters

lines

The number of lines of text that can be displayed in the columns headers. The default value is 1.

Exceptions

WFCInvalidArgumentException thrown if lines is less than 1.

Remarks

The height of the column headers is determined by the values of the headerLineCount and headerFont properties.

To hide the column headers, set the columnHeaders property to false. To change the text that is displayed in the headers, set the caption properties of the individual Column objects.

See Also   getHeaderLineCount