FormulasCatView.IsRExist

Syntax

IsRExist : Boolean;

Description

The IsRExist property determines whether the R Methods button is available.

Comments

Use JSON or the setIsRExist method to set the property value and the getIsRExist method to get the property value.

Example

Executing the example requires that HTML page contains the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component).

// Get ribbon
var ribbon = workbookBox.getRibbonView();
// Get the Caculations tab
var formulasCatView = ribbon.getFormulasCategory();
// Refresh tab
formulasCatView.refresh();
// If the button exists, disable it
if (formulasCatView.getIsRExist()) {
    // Get the R Methods button
    var aggregationButton = formulasCatView.getAggregationButton();
    // Disable the button
    aggregationButton.setEnabled(false);
};

After executing the example the R Methods button is disabled.

See also:

FormulasCatView