MouseDownNode: function(sender, args);
sender. Event source.
args. Event information.
The MouseDownNode event occurs on clicking and holding down the mouse down over component node.
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: