TreeListBase.NodeChecked

Syntax

NodeChecked: Boolean;

Description

The NodeChecked property determines whether the specified node checkbox is selected.

Comments

Use the setNodeChecked(nodeKey, value) method to set the property value, and the getNodeChecked(nodeKey) method to get the property value.

Parameters:

nodeKey. String. Node key

value. Boolean. Value.

Example

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

// Select the node with the 2 key
Tree.setNodeChecked(2, true);

After executing the example the second node is selected.

See also:

TreeListBase