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