TreeListBase.updateTree

Syntax

updateTree(keepDomNodes);

Parameters

keepDomNodes. Boolean. Save existing DOM elements. Optional parameter.

Description

The updateTree method rebuilds tree.

Example

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

// Rebuild tree
Tree.updateTree();

After executing the example the tree is rebuilt.

See also:

TreeListBase