TreeListBase.getNodeChildren

Syntax

getNodeChildren(nodeKey);

Parameters

nodeKey. Number. Node key.

Description

The getNodeChildren method returns array of keys of specified node children.

Example

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

// Get keys of first node children
Tree.getNodeChildren(0);
// -> ["4", "5", "6"]

After executing the example keys of first node children are obtained.

See also:

TreeListBase