table.length
| Property is read-only. It cannot be set in script. |
|
Returns the number of rows in a Table, as displayed, including header rows and data rows.
Example
// Testing for empty result set:
if (Query1.table.length == 1) {
Text1.text = 'No data returned';
}
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |