TreeList.MouseDownNode

Syntax

MouseDownNode: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The MouseDownNode event occurs on clicking and holding down the mouse down over component node.

Example

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

    treeListSett.MouseDownNode.add(function (sender, args) {

        treeListSett.getNodes().getItem(0).getNodes().getItem(0).collapse();

    });

After executing the example on clicking and holding down the mouse key on a component node, child node of the first tree node is collapsed.

See also:

TreeList