ControlBarPosition: PP.Ui.AnchorStyles;
The ControlBarPosition property determines position of the regular report control bar.
Use JSON or the setControlBarPosition method to set the property value, and the getControlBarPosition method to get the property value.
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 data area view
view = reportBox.getDataView();
// Set position of the control bar
view.setControlBarPosition("Left");
After executing the example the control bar is rendered at the left.
See also: