table
Two dimensional array holding the table cell data as displayed (after any grouping and aggregation). If no grouping or summarization is defined on the table, the 'table' property is the same as the 'data' property. The data can be referenced using the row number as the first array index and the column number or name as the second array index.
This property is read-only. To write data to an editable table, use setObject(row,col,value).
Type
Two-dimensional array
Example 1
for (var i=1; i<table.length; i++) {
if (Query1.table[i]['Name'] == 'Web Bridge') {
alert('Note: "Web Bridge" will be discontinued.');
}
}
Example 2
Text1.text = 'Grand total is ' + sum(Query1.table['Total']);
See Also
setObject(row,col,value), for information on modifying data in an editable table.
Accessing Table Data, for information about working with table data.
| << setPresenter(row,col,presenter) | © 1996-2013 InetSoft Technology Corporation (v11.4) | table.length >> |