WbkRibbonView.Saved

Syntax

Saved: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The Saved event is fired on selecting the Save item in main menu.

Example

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:

WbkRibbonView