EaxRibbonView.setPropertyValue

Syntax

setPropertyValue(propertyName: PP.Exp.Ui.EaxPropertyViews, value: Object);

Parameters

propertyName. Name of the property

value. Assigned value.

Description

The setPropertyValue method sets property value for the express report tool ribbon.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Make the Save Changes and Undo Changes buttons unavailable, and enable the Convert Data and Show As Ranks buttons on the express report tool ribbon:

// Get view of the express report tool ribbon
var ribbon = expressBox.getRibbonView();
// Set value for the GridChangeData property
ribbon.setPropertyValue(PP.Exp.Ui.EaxPropertyViews.GridChangeData, True);

Before executing the example the tool ribbon looked as follows:

After executing the example the Save Changes and Undo Changes buttons become unavailable, the Convert Data and Show As Ranks buttons are enabled on the express report tool ribbon:

See also:

EaxRibbonView