HieService.MetadataChangeStart

Syntax

MetadataChangeStart: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The MetadataChangeStart event is fired during the series metadata change.

Example

To execute the example, create a service for working with time series, named hieSrv (see HieService.getChildEls) and add the following code to the handler that processes document opening:

hieSrv.MetadataChangeStart.add(onDummyActionFactory("Starting series hierarchy metadata changes"));
hieSrv.MetadataChangeStart(hieSrv,{});

After executing the example series hierarchy metadata is modified, and the browser console displays the following message:

Series hierarchy metadata starts changing

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

See also:

HieService