Working with Trees > Classes > TreeList > TreeList.getPixelHeight
getPixelHeight();
The getPixelHeight method returns height value (in pixels) for tree component.
To execute the example, the page must contain the TreeList component named treeListSett (see Example of Creating the TreeList Component). Get the tree component height in pixels:
// Get the tree component height in pixels console.log("Component height: " + treeListSett.getPixelHeight());
As a result, tree component height is displayed to the console:
Component height: 125
See also: