TreeListView.getVisibleNodes

Syntax

getVisibleNodes();

Description

The getVisibleNodes method returns keys of all visible nodes.

Example

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

// Get all visible nodes
Tree.getVisibleNodes();
// -> ["0", "1", "2", "key3"]

After executing the example keys of visible nodes are obtained.

See also:

TreeListView