TreeListBase.deleteNode

Syntax

deleteNode(nodeKey);

Parameters

nodeKey. String. Node key.

Description

The deleteNode method deletes the specified tree node.

Example

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

// Delete the second node
Tree.deleteNode(1)

After executing the example the second node is deleted.

See also:

TreeListBase