HieTreeView.RequestChild

Syntax

RequestChild: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The RequestChild event occurs on requesting child nodes.

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.RequestChild.add(function(sender, args){console.log("Folder key: " + args.ParentKey)});

After executing the example on expanding an element of the tree with child nodes the browser console displays key of the opened folder.

See also:

HieTreeView