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 tool 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 tool ribbon:

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

Before executing the example the tool ribbon looks as follows:

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

See also:

DataCatView