TreeListBase.getAllNodesCount

Syntax

getAllNodesCount();

Description

The getAllNodesCount method returns the number of nodes.

Example

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

// Get the number of nodes
Tree.getAllNodesCount();
// -> 7

After executing the example the number of all tree nodes is obtained.

See also:

TreeListBase