TreeList.Expand

Syntax

Expand: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The Expand event is fired on expanding nodes.

Example

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

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

{

   alert(treeListSett.getSelectedNodes().length);

});

After executing the example expanding a node brings up a message that contains the number of selected elements.

See also:

TreeList