deleteNode(node: PP.Ui.TreeNode);
node. Node to be deleted.
The deleteNode method deletes a hierarchical tree node.
To execute the example, the page must contain the TreeList component named treeListSett (seebsp;. Example of Creating the TreeList Component). Delete the node with the Algeria contents:
// Delete the element containing the Algeria text treeListSett.deleteNode(treeList.findText("Algeria"));
As the result, the node with the Algeria contents is deleted from the hierarchical tree:
See also: