TreeList.deleteNode

Syntax

deleteNode(node: PP.Ui.TreeNode);

Parameters

node. Node to be deleted.

Description

The deleteNode method deletes a hierarchical tree node.

Example

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:

TreeList