public selectNode(node as TreeNode) as Boolean
Selects a visible node and scrolls vertically to reveal it.
| Parameter | Description |
|---|---|
node | Node to select; null clears the selection. |
True if selected, false if it is absent from the visible rows. Hidden ancestors must be expanded first. Emits selectionChanged only when the selected node changes.
tree.expandNode(root) tree.selectNode(root.children[0])