table.size

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

Returns the number of columns in a Table, as displayed.

Type

Integer

Either syntax below can be used in component script:

table.size                 // unqualified
TableView1.table.size      // qualified

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