GcSpread.Sheets Namespace > Sheet type : getTables Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: Array value = instance.getTables();
function getTables() : Array;
activeSheet.addTable("Table1", 0, 0, 3, 3, GcSpread.Sheets.TableStyles.dark1()); activeSheet.addTable("Table2", 4, 0, 3, 3, GcSpread.Sheets.TableStyles.medium1()); var tables = activeSheet.getTables(); for (var i = 0; i < tables.length; i++) { alert(tables[i].name()); }