TreeListBase.NodeEditable

Syntax

NodeEditable: Boolean;

Description

The NodeEditable property determines whether the specified node can be edited.

Comments

Use the setNodeEditable(nodeKey, value) method to set the property values and the getNodeEditable(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).

// Disable editing of the node with the 0 index
Tree.setNodeEditable(0, false);

After executing the example it is disabled to edit the node with the 0 index.

See also:

TreeListBase