TableViewPanel Constructor

Syntax

PP.Exp.Ui.TableViewPanel(settings);

Parameters

settings. JSON object that contains class properties.

Description

The TableViewPanel constructor creates an instance of the TableViewPanel 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 View tab and add it to the properties panel of the express report:

// Get express report properties panel
var propBar = expressBox.getPropertyBarView().getControl();
// Create the View tab
var tableViewPanel = new PP.Exp.Ui.TableViewPanel({
    Source: expressBox.getSource(), // Set data source
    ViewType: PP.Ui.NavigationItem,
    GroupName: PP.Exp.Ui.PropertyGroups.Table,
    IsRTL: expressBox.getIsRTL()
});
// Add the View tab to the properties panel
propBar.addItem(tableViewPanel);

After executing the example the View tab is created on the express report properties panel:

See also:

TableViewPanel