NodeFixedExpanded: Boolean;
The NodeFixedExpanded property determines whether the specified node can be expanded or collapsed.
Use the setNodeFixedExpanded(nodeKey, value) method to set the property value, and the getNodeFixedExpanded(nodeKey) method to get the property value.
Parameters:
nodeKey. String. Node identifier.
value. Boolean. Value.
Available value variants:
true. Node expand/collapse is disabled.
false. Node expand/collapse is enabled.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Disable expanding/collapsing of the first node Tree.setNodeFixedExpanded(0, true);
After executing the example the node with the 0 index is disabled to edit.
See also: