getValidationPanel();
The getValidationPanel method returns the Validation Rules panel.
The method returns an object of the PP.TS.Ui.ValidationRulesPanel type.
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: