Example of Creating the SpliceMethodWizard Component

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Let us create the SpliceMethodWizard component and add it to the Parameters tab of the workbook side panel:

// Get workbook properties panel
var propertyBar = workbookBox.getPropertyBarView();
// Get parameters panel
var parametersPanel = propertyBar.getParametersPanel();
// Show panel
parametersPanel.show();
// Expand panel
parametersPanel.expand();
// Get DOM subtree for this panel
var container = parametersPanel.getContentDomNode();
// Create time series splice wizard
var spliceMethodWizard = new PP.TS.Ui.SpliceMethodWizard({
    Source: propertyBar.getSource(),
    IsRTL: parametersPanel.getIsRTL()
});
// Add wizard to DOM subtree
spliceMethodWizard.addToNode(container);

After executing the example the created SpliceMethodWizard component is added to the Parameters tab of the workbook side panel:

See also:

SpliceMethodWizard