getRevisionComparisonWizard();
The getRevisionComparisonWizard method returns the data validation rule wizard that compares data versions in workbook.
This method returns an object of the PP.TS.Ui.RevisionComparisonWizard 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 versions:
// Get wizard of validation rule by comparing data versions
var revisionComparisonWizard = validationSettingsDialog.getRevisionComparisonWizard();
// Get DOM tree for this wizard
var dom = revisionComparisonWizard.getDomNode();
// Set wizard style
PP.addClass(dom, "PPValidationSettingsDlgContent");
// Make wizard visible
revisionComparisonWizard.show();
// Add the obtained wizard to the standard dialog
var dialog = new PP.Ui.Dialog({
Content: revisionComparisonWizard,
// Specify resource key for displaying dialog title
ResourceKey: "TSRibbonVersionDataComparisonDialog",
Width: 734, // Dialog width
Height: 184 // Dialog height
});
// Display this dialog
dialog.show();
After executing the example the created dialog box shows data validation rule wizard that validates data by comparing data versions:

See also: