TreeList.NodeHovered

Syntax

NodeHovered: function (sender,args)

Parameters

sender. Event source.

args. Information on the event: Node - hovered node.

Description

The NodeHovered event occurs on hovering over a node.

Example

To execute this example, create the TreeList component named treeListSett. Add a handler for the NodeHovered event:

treeListSett.NodeHovered.add(function (sender, args)

{

  treeListSett.setWidth(200);

  treeListSett.setHeight(100);

  treeListSett.getHorizontalScroll().setDraggerSize(20);

  treeListSett.getVerticalScroll().setEnabled(false);

});

After executing the example on hovering over a node the component is resized, and scrollbars become available. The horizontal scrollbar width will be set to 20 pixels. The vertical scrollbar will be unavailable for user:

See also:

TreeList