TreeListView.setHoveredNode

Syntax

setHoveredNode(nodeKey);

Parameters

nodeKey. Node key.

Description

The setHoveredNode method sets highlighting caused by mouseover on the specified node.

Example

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:

TreeListView