RibbonView.PropertyChanged

Syntax

PropertyChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The PropertyChanged event occurs after clicking the buttons of tool ribbon.

Example

To execute this example, the HTML page must contain ReportBox component named reportBox, that uses the regular report named prxReport as its source (see Example of the ReportBox Component Layout). Add a handler of the PropertyChanged event:

       reportBox.getRibbonView().PropertyChanged.add(function (sender, args) {
           if (prxReport.isAnyControlVisible(prxReport.getActiveSheetKey()) == true) {
               reportBox.getRibbonView().setPropertyValue("ClosedState", false)
           }
       });

After executing the example, clicking any toolbar button makes all ribbon buttons and all main menu items (except Open, Exit and Share) inactive, if there are controls for the opened report sheet.

See also:

RibbonView