"collapseAll"

The function allows to collapse all nodes of a tree.

Synopsis

shape.collapseAll();

Parameter

Parameter Description
shape Name of the object

Description

The function allows to collapse all nodes of a tree.

Example

All nodes of the tree "TREE1" are collapsed.

main()
{
  TREE1.collapseAll("NAME");
}

Assignment

Tree Widget