TreeListBase.getNodes

Syntax

getNodes();

Description

The getNodes method returns an array 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 rendered nodes
Tree.getNodes();
// -> ["0", "1", "2", "key3"]

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

See also:

TreeListBase