MetadataChanged: function (sender, args)
sender. Event source.
args. Event information.
The MetadataChanged event occurs after metadata change.
To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). Open the Advanced Analytics tab in the report and enter the following code in the console:
// Get tool ribbon ribbon = reportBox.getRibbonView(); // Get the Advanced Analytics tab analyticCat = ribbon.getAnalyticsCategory(); // Add event analyticCat.MetadataChanged.add(function(sender, args){ console.log(args); });
After executing the example the event is added.
See also: