getAdhocValidationButton();
The getAdhocValidationButton method returns the Quick Validation button in workbook ribbon.
This method returns value of the PP.Ui.SplitButton.
To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Disable the Quick Validation button:
// Get ribbon var ribbon = workbookBox.getRibbonView(); // Get the Home ribbon category var dataCategory = ribbon.getDataCategory(); // Get the Quick Validation button var adhocValidationButton = dataCategory.getAdhocValidationButton(); // Disable the button adhocValidationButton.setEnabled(False);
After executing the example the Quick Validation button is disabled:

See also: