fields

query to specify the data block from which to draw the fields.

Specifies the fields of the data block to be displayed in the Table.

Type

Array

Example

TableView1.query = 'SalesByDate';
TableView1.fields = ['State','Company','Total'];

Either syntax below can be used in component script:

fields                // unqualified
TableView1.fields     // qualified

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

tableFields