TreeList.getPixelHeight

Syntax

getPixelHeight();

Description

The getPixelHeight method returns height value (in pixels) for tree component.

Example

To execute the example, the page must contain the TreeList component named treeListSett (seebsp;. 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:

TreeList