TreeListBase.NodeChildrenSelected

Syntax

NodeChildrenSelected: Number;

Description

The NodeChildrenSelected property determines the number of selected children of the specified node.

Comments

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.

Example

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:

TreeListBase