DataCatView.setEnabledSaveButton

Syntax

setEnabledSaveButton(value);

Parameters

value. Value to assign.

Description

The setEnabledSaveButton method controls availability of Data group buttons on the Data tab of express report ribbon.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). In the example given below the Save Changes button becomes unavailable on the express report ribbon:

// Get view of the Data ribbon panel
var dataRibbonCategory = expressBox.getRibbonView().getDataRibbonCategory();
// Make the buttons unavailable
dataRibbonCategory.setEnabledSaveButton(False);

Before executing the example the ribbon looks as follows:

After executing the example the Save button on the ribbon becomes unavailable:

See also:

DataCatView