NodeChildrenSelected: Number;
The NodeChildrenSelected property determines the number of selected children of the specified node.
Use the setNodeChildrenSelected(nodeKey, value) method to set the property value, and the getNodeChildrenSelected(nodeKey) method to get the property value.
Parameters:
nodeKey. String. Node identifier
value. Number. Value.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Determine the number of selected children of the node with the 0 index Tree.getNodeChildrenSelected(0); // -> 0
After executing the example the number of selected children of the node with the 0 index is displayed.
See also: