getUserFunctionsButton();
The getUserFunctionsButton method returns the User Functions button.
The example of method use is identical to the FormulasCatView.getAggregationButton method, to execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), a workbook must contain custom functions:
// Get tool ribbon var ribbon = workbookBox.getRibbonView(); // Get the Calculations tab var formulasCatView = ribbon.getFormulasCategory(); // Refresh the tab formulasCatView.refresh(); // Get the Custom Functions button var userFuncButton = formulasCatView.getUserFunctionsButton(); // Make the button inactive userFuncButton.setEnabled(False);
See also: