Exported: function (sender, args);
sender. Event source.
args. Event information.
The Exported event is fired on selecting the Export item in workbook main menu.
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 Export workbook main menu item ribbonView.Exported.add(function() { alert("The Export workbook main menu item is selected"); });
To execute the example, select the Export item in main menu of the workbook, after that the following message appears in the screen: The Export item is selected in main menu of the workbook.
See also: