HieTreeView.SelectionChanged

Syntax

SelectionChanged: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The SelectionChanged event is fired on changing selection in the tree.

Example

To execute the example, create a service for working with time series, create a component that will show hierarchy of time series database named maTree (see MetaAttributeTree Constructor), and add the following code in the SCRIPT tag:

	maTree.SelectionChanged.add(function(sender, args){console.log("Selection is changed")});
	//Fire tree selection change event
	maTree.SelectionChanged.fire(maTree, {});

After executing the example, tree selection change event is fired and the browser console displays an appropriate message.

See also:

HieTreeView