MetaHierarchy.LeafLoadExtent

Syntax

LeafLoadExtent: Number;

Description

The LeafLoadExtent property determines maximum number of leaf elements to be loaded in the hierarchy.

Comments

The number of leaf elements means the maximum number of nested levels to load.

Example

To execute the example, create a service for working with time series, get a workbook instance from the time series database (see MetaHierarchy.ChildEls) and add the following code in the handler that processes document opening:

console.log("Get the maximum number of leaf elements to be loaded to hierarchy");
var nMaxLeafs = hie.getLeafLoadExtent();
console.log(nMaxLeafs);

After executing the example the browser console displays maximum number of leaf elements to be loaded in the hierarchy:

65536

See also:

MetaHierarchy