bindingInfo.getTopNSummaryCol(field, header)
Returns the measure set for ranking by bindingInfo.setTopNSummaryCol(field, header, measure) or by the ‘Of’ property in the Crosstab Editor.

Parameters
- field
-
String: Name of a column
- header
-
StyleConstant.ROW_HEADERorStyleConstant.COLUMN_HEADER
Example
var formula = Crosstab1.bindingInfo.getTopNSummaryCol('Category',StyleConstant.ROW_HEADER);
Text1.text = 'Ranking by ' + formula + '.'
|
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. |