query

  • fields to specify the fields to display in the table.

  • Table Properties for general information about the Table component.

Specifies the data block to be used by the Table component. The available data blocks appear at the top of the Toolbox panel in Visual Composer.

dataBlocks

Type

String

Example

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

Either syntax below can be used in component script:

query                 // unqualified
TableView1.query      // qualified

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