getOptimalWidthForColumn(index);
index. Column index.
The getOptimalWidthForColumn method gets optimum column width.
Optimal column width is the width of the cell that contains the longest text in the specified column.
The example of method use is given in the TreeColumn.WidthChanged event description.
See also: