bindingInfo.getGroupOrder(group_field, header)

Returns the date grouping level specified by bindingInfo.setGroupOrder(group_field, header, level) or set by the ‘Level’ option in the Crosstab Editor.

bindingInfoSetGroupOrder 1

Parameters

group_field

String: Name of a grouped date column

header

StyleConstant.ROW_HEADER or StyleConstant.COLUMN_HEADER

Returns

Style Constant integer

Example

if(Crosstab1.bindingInfo.getGroupOrder('Date',StyleConstant.ROW_HEADER)==StyleConstant.QUARTER_OF_YEAR_DATE_GROUP) {
  Crosstab2.bindingInfo.setGroupOrder('Date',StyleConstant.ROW_HEADER,StyleConstant.QUARTER_OF_YEAR_DATE_GROUP);
}

Either syntax below can be used in component script:

bindingInfo.getGroupOrder             // unqualified
Crosstab1.bindingInfo.getGroupOrder   // qualified

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