getNodeChildren(nodeKey);
nodeKey. Number. Node key.
The getNodeChildren method returns array of keys of specified node children.
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: