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.

crosstab editor Rows region with row header fields assigned

Type

Array

Example

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

crosstab with Category and Name as row fields bound to rows region

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.