deleteNode(node: PP.Ui.TreeNode, value: Boolean);
node. Node that contains children node visibility to change;
value. Node openness value to pass. If parameter value is true then node expands, if it is false then node collapses.
The setExpandedForNode method expands or collapses the node depending on the passed value.
To execute the example, the page must contain the TreeList component named treeListSett (seebsp;. Example of Creating the TreeList Component). Expand root node with the 0 index:
// Expand root node with the 0 index treeListSett.setExpandedForNode(treeList.getNodes().getItem(0), true);
As a result, root node with the 0 index is expanded:
See also: