DataSourceParamsPanel Constructor

Syntax

PP.Exp.Ui.DataSourceParamsPanel(settings);

Parameters

settings. JSON object that contains class properties.

Description

The DataSourceParamsPanel constructor creates an instance of the DataSourceParamsPanel class.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then create the Data Sources Parameters tab and add it to the express report properties panel:

// Get express report properties panel
var propBar = expressBox.getPropertyBarView().getControl();
// Create the Data Sources Parameters tab
var dsp = new PP.Exp.Ui.DataSourceParamsPanel({
    Id: PP.Exp.Ui.ControlType.DataSourceParams,
    Source: expressBox.getSource(), // Data source
    GroupName: PP.Exp.Ui.PropertyGroups.Sheet,
    ImagePath: "../Img/",
    ViewType: PP.Ui.NavigationItem
});
// Add the Data Sources Parameters tab to the properties panel
propBar.addItem(dsp);

After executing the example the Data Sources Parameters tab is created on the express report properties panel:

See also:

DataSourceParamsPanel