HieTreeView.getSource

Syntax

getSource ();

Description

The getSource method returns the currently displayed dimension.

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:

	console.log("Get the current displayed dimension");
	console.log(maTree.getSource());

After executing the example the browser console shows the value of the currently displayed dimension:

Get the currently displayed dimension

PP.TS.MetaHierarchy {_RubricatorKey: 112, _RubInstanceId: null, _WorkbookInstanceId: null, _FilterFacts: Array[0], _Metabase: PP.Mb.Metabase…}

See also:

HieTreeView