DataAreaView.showTabControl

Syntax

showTabControl(value: boolean, updateSize: boolean);

Parameters

value. Determines whether the panel for selection of regular report sheets is shown. If this parameter is set to True, the panel is shown, if it is False the panel is hidden.

updateSize. Determines whether to resize the table on showing and hiding the sheet selection panel. If this property is set to True, hiding or displaying the panel changes the table size (the table occupies the entire data area). If this property is set to False, the table size remains unchanged. By default this property is set to True.

Description

The showTabControl method determines whether to show the panel for selection of regular report sheets.

Example

To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). The source regular report must contain two or more sheets.

// Get data area view
view = reportBox.getDataView();
// Hide the sheet selection panel
view.showTabControl(false);

After executing the example the sheet selection panel is hidden.

See also:

DataAreaView