Home > Foresight Analytics Platform > Web Application and Desktop Application > Application Development and Functionality Enhancement > Developing Web Application Using DHTML Components > Working with Trees > Classes > TreeListBase > TreeListBase.updateNode
updateNode(nodeKey, keepDomNodes);
nodeKey. String. Node key
keepDomNodes. Boolean. Save existing DOM elements. Optional parameter.
The updateNode method refreshes the specified node.
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: