measureColumnContentWidth(columnIndex, fullColumn);
columnIndex. Number. Column index
fullColumn. Boolean. Calculation of the whole column width, including missing nodes.
The measureColumnContentWidth method returns column contents.
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: