RequestChild: function (sender, args);
sender. Event source.
args. Event information.
The RequestChild event occurs on requesting child nodes.
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: