WbkCategoryView.getValidationSettingsDialog

Syntax

getValidationSettingsDialog();

Description

The getValidationSettingsDialog method returns validation rules setup dialog.

Comments

This method returns a PP.TS.Ui.ValidationSettingsDialog value.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Show the validation rule setup dialog:

// Get ribbon
var ribbon = workbookBox.getRibbonView();
// Get the Home ribbon category
var mainCategory = ribbon.getMainCategory();
// Get validation rule settings dialog
var validationSettingsDialog = mainCategory.getValidationSettingsDialog();
// Display the dialog
validationSettingsDialog.show();

A dialog box for validation rules setup is shown after the example execution:

See also:

WbkCategoryView