TreeListBase.getSelectedNodes

Syntax

getSelectedNodes();

Description

The getSelectedNodes method returns selected nodes.

Example

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

// Get selected nodes
Tree.getSelectedNodes();
// ->  ["1"]

After executing the example all selected tree nodes are obtained.

See also:

TreeListBase