TreeListBase.findText

Syntax

findText(value);

Parameters

value. String. Search text.

Description

The findText method searches full match of value in the first column.

Example

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

// Find the node with the Node3 contents
Tree.findText("Node3");
// -> "key3"

After executing the example the console displays key of the node that has full text match.

See also:

TreeListBase