WbkPropertyBarView.getValidationPanel

Syntax

getValidationPanel();

Description

The getValidationPanel method returns the Validation Rules panel.

Comments

The method returns an object of the PP.TS.Ui.ValidationRulesPanel type.

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 Rules panel:

// Get workbook properties panel
var propertyBar = workbookBox.getPropertyBarView();
// Get the Validation Rules panel
var validationPanel = propertyBar.getValidationPanel();
// Display this panel
validationPanel.show();
// Expand panel
validationPanel.expand();

After executing the example the Validation Rules panel is displayed:

See also:

WbkPropertyBarView