bindingInfo.measureFields

query to specify the data block from which the Crosstab displays data.

Specifies the data block fields to be used as measures. This is equivalent to adding fields into the ‘Aggregates’ region of the Crosstab Editor.

bindingInfoMeasures

Type

Array

Example

Crosstab1.query = 'Sales';
Crosstab1.bindingInfo.rowFields = ['Category','Name'];
Crosstab1.bindingInfo.colFields = ['Region','State'];
Crosstab1.bindingInfo.measureFields = ['Total','Quantity Purchased'];

bindingInfoCrosstabExp1 3

Either syntax below can be used in component script:

bindingInfo.measureFields             // unqualified
Crosstab1.bindingInfo.measureFields   // qualified

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