setHoveredNode(nodeKey);
nodeKey. Node key.
The setHoveredNode method sets highlighting caused by mouseover on the specified node.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Highlight the first node Tree.setHoveredNode(0)
After executing the example the first node is highlighted.
See also: