TreeListBase.isNodeExist

Syntax

isNodeExist(nodeKey);

Parameters

nodeKey. String. Node key.

Description

The isNodeExist method returns whether the specified node exists.

Example

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

// Check if the node exists
Tree.isNodeExist("10");
// -> false

After executing the example it is obtained whether the node with the 10 key exists.

See also:

TreeListBase