ControlBarView.ControlsRenderState

Syntax

ControlsRenderState: PP.Mb.TriState

Description

The ControlsRenderState property determines whether to draw regular report controls in the Controls panel.

Comments

By default this property is set to PP.Mb.TriState.OnOption.

Example

To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). The regular report must contain controls. Specify that controls should not be created or rendered on the Controls panel when the regular report is rendered:

        controlBar = reportBox.getDataView().getControlBar();
        controlBar.setControlsRenderState(0);

After executing the example a regular report is placed in the page. Available controls are not drawn on the Controls panel of this report.

See also:

ControlBarView