RibbonView.Discuss

Syntax

Discuss: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The Discuss event occurs after the user selects one of the options in the main menu item Share.

Example

Executing this example requires the ReportBox component named reportBox available on the HTML page, a sourceof the regular report named prxReport, and a service for working with regular reports named prxMbService (see Example of the ReportBox Component Layout). Add a handler for the Discuss event:

reportBox.getRibbonView().DiscussMenuOpened.add(function (sender, args) {

      prxMbService.setActiveSheet(prxReport, 3);

      reportBox.refreshAll();

})

After selecting one of the options in the Share main menu item, the third sheet of the report becomes active.

See also:

RibbonView