TreeListView.measureColumnContentWidth

Syntax

measureColumnContentWidth(columnIndex, fullColumn);

Parameters

columnIndex. Number. Column index

fullColumn. Boolean. Calculation of the whole column width, including missing nodes.

Description

The measureColumnContentWidth method returns column contents.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Get column width
Tree.measureColumnContentWidth(0);
// -> 89

After executing the example the first column width is obtained.

See also:

TreeListView