PP.Exp.Ui.DataPanel(settings);
settings. JSON object that contains values of component properties.
The DataPanel constructor creates an instance of the DataPanel component.
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 tab and add it to properties panel of the express report:
// Get express report properties panel var propBar = expressBox.getPropertyBarView().getControl(); // Create the Data tab var dataPanel = new PP.Exp.Ui.DataPanel({ Source: expressBox.getSource(), GroupName: PP.Exp.Ui.PropertyGroups.Sheet, ViewType: PP.Ui.NavigationItem }); // Add the Data tab to the properties panel propBar.addItem(dataPanel);
After executing the example the Data tab is created on the express report properties panel:
:
See also: