TreeListBase.NodeSelected

Syntax

NodeSelected: Boolean;

Description

The NodeSelected property determines whether the specified node is selected.

Comments

Use the setNodeSelected(nodeKey, value) method to set the property value, and the getNodeSelected(nodeKey) method to get the property value.

Parameters:

nodeKey. String. Node identifier

value. Boolean. Value.

Example

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

// Determine whether the second node is selected
Tree.getNodeSelected(1);
// -> true

After executing the example it is determined whether the second node is selected.

See also:

TreeListBase