getNodeLevel (node: PP.Ui.TreeNode);
node. Node, level of which is returned.
The getNodeLevel method determines level that contains a specified node.
To execute this example, the page must contain the TreeList component named treeListSett (see an example of the TreeList.NodeUnHovered event). Return level of a focused node and select all nodes in this level:
node = treeList.getFocusedNode();
level = treeListSett.getNodeLevel(node);
treeList.selectLevel(level);
After executing the example selects all elements of the level that contains the focused node.
See also: