RequestMetadata: function (sender, args);
sender. Event source.
args. Event information.
The RequestMetadata event is fired when no metadata is available in ribbon source.
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 metadata request event ribbonView.RequestMetadata.add(function() { alert('Metadata request event occurred'); });
To execute the example, click on the Add Series menu item, after this metadata is requested and the following message appears in the screen: Metadata request event has occurred.
See also: