LabelPosition: PP.Ui.AnchorStyles;
The LabelPosition property determines position of the label for regular report control.
Use JSON or the setLabelPosition method to set the property value, and the getLabelPosition 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 controls panel
view = reportBox.getDataView();
bar = view.getControlBar();
// Get control
control = bar.getControl(1);
// Define position of the control label
control.setLabelPosition("Right");
After executing the example the control label is rendered at the right of the control.
See also: