bindingInfo.rowFields

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

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

bindingInfoRowHeaders

Type

Array

Example

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

bindingInfoCrosstabExp1 1

Either syntax below can be used in component script:

bindingInfo.rowFields             // unqualified
Crosstab1.bindingInfo.rowFields   // qualified

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