DisplayTreeChanged: function (sender, args);
sender. Event source.
args. Event information.
The DisplayTreeChanged event is fired after showing or hiding series tree.
To fire the event toggle upper part of the Series Tree button in the Home ribbon tab.
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: