ValidationRulesPanel.getValidationSettingsDialog

Syntax

getValidationSettingsDialog(state: Object);

Parameters

state. Validation rule settings. Optional parameter. If this parameter is not defined, default setting values are loaded in the dialog box.

Description

The getValidationSettingsDialog method returns a dialog box that contains validation rule settings.

Comments

This method returns an object of the PP.TS.Ui.ValidationSettingsDialog type.

Example

Executing this example requires an instance of the ValidationRulesPanel class named validationRulesPanel (see ValidationRulesPanel Constructor). Show a dialog box containing validation rule settings:

// Get validation settings dialog
var settingsDialog = validationRulesPanel.getValidationSettingsDialog();
// Display this dialog
settingsDialog.show();

After executing the example a dialog box with validation rule settings is shown in the workbook:

See also:

ValidationRulesPanel