WbkRibbonView.DisplayTreeChanged

Syntax

DisplayTreeChanged: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The DisplayTreeChanged event is fired after showing or hiding series tree.

Comments

To fire the event toggle upper part of the Series Tree button in the Home ribbon tab.

Example

To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and also add the following code in the handler, that processes document opening event:

//Get the Ribbon component
var ribbonView = workbookBox.getRibbonView();
//Subscribe to the event of changing series tree look
ribbonView.DisplayTreeChanged.add(function()
{
alert('Series tree visibility is changed');
});

After executing the example on clicking on the upper part of the Series Tree button in the Home ribbon tab, the following message appears in the screen: Series tree visibility is changed.

See also:

WbkRibbonView