TreeListBase.NodeVisible

Syntax

NodeVisible: Boolean;

Description

The NodeVisible property determines whether the specified node is visible.

Comments

Use the setNodeVisible(nodeKey, value) method to set the property values and the getNodeVisible(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 visible
Tree.setNodeVisible(1, false);

After executing the example the second node is hidden.

See also:

TreeListBase