Expand: function(sender, args);
sender. Event source.
args. Event information.
The Expand event is fired on expanding nodes.
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: