DataGrid.setDefaultColumnWidth

Overview | Methods | Fields | This Package | All Packages

DataGrid.setDefaultColumnWidth

Sets the default width for all columns in the grid.

Syntax

public void setDefaultColumnWidth( int width )

Parameters

width

The new default width (in pixels) for all columns in the grid. The default value of the defaultColumnWidth property is 75.

Remarks

To set the width of an individual column, use the width property of the Column object.

See Also   getDefaultColumnWidth