TreeList.BeforeExpand

Syntax

BeforeExpand: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The BeforeExpand event is fired before expanding a tree node.

Example

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

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

{

  treeListSett.selectAll();

});

After executing the example clicking the icon (before expanding the node) selects all tree nodes.

See also:

TreeList