SpreadJS Documentation
all Method
GC.Spread.Sheets.Tables Namespace > TableManager type : all Method
Gets all tables of the sheet.
Syntax
var instance = new GC.Spread.Sheets.Tables.TableManager(sheet);
var value; // Type: Array
value = instance.all();
function all() : Array;

Return Value

The GC.Spread.Sheets.Tables.Table array of table instances. The array is never null.
Example
This example gets the tables.
activeSheet.tables.add("Table1", 0, 0, 3, 3, GC.Spread.Sheets.Tables.TableTheme.dark1);
activeSheet.tables.add("Table2", 4, 0, 3, 3, GC.Spread.Sheets.Tables.TableTheme.medium1);
var tables = activeSheet.tables.all();
for (var i = 0; i < tables.length; i++) {
    alert(tables[i].name());
}
See Also

Reference

TableManager type