TreeListBase.updateNode

Syntax

updateNode(nodeKey, keepDomNodes);

Parameters

nodeKey. String. Node key

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

Description

The updateNode method refreshes the specified node.

Example

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

// Refresh node
Tree.updateNode(2);

After executing the example the node is refreshed.

See also:

TreeListBase