TreeList.getOptimalWidthForColumn

Syntax

getOptimalWidthForColumn(index);

Parameters

index. Column index.

Description

The getOptimalWidthForColumn method gets optimum column width.

Comments

Optimal column width is the width of the cell that contains the longest text in the specified column.

Example

The example of method use is given in the TreeColumn.WidthChanged event description.

See also:

TreeList