data.size

Property is read-only. It cannot be set in script.

Returns the number of columns in a table, prior to grouping and aggregation.

Type

Integer

Either syntax below can be used in component script:

data.size                 // unqualified
TableView1.data.size      // qualified

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