CrossDatabaseWizard Constructor

Syntax

PP.TS.Ui.CrossDatabaseWizard(settings: Object);

Parameters

settings. JSON object that contains values of class properties.

Description

The CrossDatabaseWizard constructor creates an instance of the CrossDatabaseWizard class.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Create a wizard that validates data by comparing it with time series database, and place this wizard in a dialog box:

/* Create a wizard for data validation by comparing it 
with time series database */
var crossDatabaseWizard = new PP.TS.Ui.CrossDatabaseWizard({
    Source: workbookBox.getSource(),
});
// Get DOM tree for this wizard
var dom = crossDatabaseWizard.getDomNode();
// Set wizard style
PP.addClass(dom, "PPValidationSettingsDlgContent");
// Place the created wizard in the standard dialog 
var dialog = new PP.Ui.Dialog({
    Content: crossDatabaseWizard,
    Caption: "Comparison with time series database", // Caption
    Width: 750, // Dialog width
    Height: 190 // Dialog height	
});
// Dispaly dialog
dialog.show();

After executing the example the data validation wizard that compares data with time series database is created and placed in the dialog box:

See also:

CrossDatabaseWizard