bindingInfo.getGroupTotal(field, header)
Returns true if the subtotal for the specified group is being displayed, false otherwise. This property can be set by bindingInfo.setGroupTotal(field, header, Boolean) or by the ‘Summarize’ property in the Crosstab Editor.

Parameters
- field
-
String: Name of grouped column
- header
-
StyleConstant.ROW_HEADERorStyleConstant.COLUMN_HEADER
Example
var showTotal = Crosstab1.bindingInfo.getGroupTotal('Region',StyleConstant.ROW_HEADER);
if(showTotal) {
Text1.text = 'Subtotals are displayed for Region.';
}
else {
Text1.text = 'Subtotals are not displayed.';
}
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |