bindingInfo.isGroupOthers(field, header)

Returns the value set by bindingInfo.setGroupOthers(field, header, Boolean) or by the ‘Group all others together’ property in the Crosstab Editor.

crosstab editor with Group all others together option visible

Parameters

field

String: Name of ranked column

header

StyleConstant.ROW_HEADER or StyleConstant.COLUMN_HEADER

Boolean

true: others are grouped together
false: others are not displayed

Example

var others = Crosstab1.bindingInfo.isGroupOthers('Name',StyleConstant.ROW_HEADER);
if(others) {
  Text1.text = 'Others are grouped together.';
}
else {
  Text1.text = 'Others are not displayed.';
}

Either syntax below can be used in component script:

bindingInfo.isGroupOthers             // unqualified
Crosstab1.bindingInfo.isGroupOthers   // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.