TreeListBase.getNodesCount

Syntax

getNodesCount();

Description

The getNodesCount method returns the number of nodes to be rendered.

Example

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

// Get the number of rendered nodes
Tree.getNodesCount();
// -> 4

After executing the example the number of rendered nodes is obtained.

See also:

TreeListBase