ControlBarView.Orientation

Syntax

Orientation: PP.Orientation;

Description

The Orientation property determines orientation of the regular report control bar.

Comments

Use JSON or the setOrientation method to set the property value, and the getOrientation method to get the property value.

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 one or more controls.

// Get controls panel
view = reportBox.getDataView();
bar = view.getControlBar();
// Set orientation for the control bar
bar.setOrientation("Vertical");

After executing the example the controls are shown using vertical layout.

See also:

ControlBarView