Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

DataGrid.setRowHeight

Sets the height of the rows in the grid.

Syntax

public void setRowHeight( int rowHeight )

Parameters

rowHeight

The new height (in pixels) for the rows in the grid. The default value of the rowHeight property is 20.

Exceptions

WFCInvalidArgumentException thrown if rowHeight is less than MIN_ROW_HEIGHT.

Remarks

All rows in the grid have the same height. If the allowRowSizing property is set to true, the rows can be resized at run time, either programmatically or by the user. The rowHeight property is then automatically set to the new height. Note that if the allowRowSizing property is false, the row height cannot be changed.

See Also   getRowHeight