getSelectedNodes();
The getSelectedNodes method returns selected nodes.
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: