AltHierarchyChanged: function (sender, args);
sender. Event source.
args. Event information.
The AltHierarchyChanged event is fired after changing dimension's alternative hierarchy on the server.
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:
var breadcrumb = workbookBox.getDataView().getBreadcrumb(); //Add an event of changing dimension alternative hierarchy in the server breadcrumb.AltHierarchyChanged.add(function() { //Output message alert('Event of changing dimension alternative hierarchy in the server occurred'); });
After executing the example on selecting an alternative hierarchy for dimension element (a context menu option for attribute value in the Alternative Hierarchy series tree), the following message appears in the screen: The event of changing dimension alternative hierarchy in the server has occurred.
NOTE. The Alternative Hierarchy context menu item is available if an alternative hierarchy is set for dimension.
See also: