getLevelWizard();
The getLevelWizard method returns the data validation rule wizard that compares data with a number.
This method returns an object of the PP.TS.Ui.LevelWizard type.
Executing the example requires the ValidationSettingsDialog component named validationSettingsDialog (see Example of creating the ValidationSettingsDialog component). Show the data validation rule wizard that compares data with a number in a separate dialog box:
// Get wizard of data validation by comparing with a number
var levelWizard = validationSettingsDialog.getLevelWizard();
// Get DOM tree for this wizard
var dom = levelWizard.getDomNode();
// Set wizard style
PP.addClass(dom, "PPValidationSettingsDlgContent");
// Make wizard visible
levelWizard.show();
// Add the obtained wizard to the standard dialog
var dialog = new PP.Ui.Dialog({
Content: levelWizard,
Width: 567, // Dialog width
Height: 135, // Dialog height
// Specify resource key to display the dialog title
ResourceKey: "TSRibbonLevelAnalysisDialog"
});
// Display this dialog
dialog.show();
After executing the example the created dialog box shows the data validation rule wizard that compares data with a number:

See also: