Show contents 

Home > Foresight Analytics Platform > Web Application and Desktop Application > Application Development and Functionality Enhancement > Developing Web Application Using DHTML Components > Working with Trees > Classes > TreeListBase > TreeListBase.getNodeChildren

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