SpreadJS Documentation
GC.Spread.Sheets Namespace / Worksheet type / tables Field
In This Topic
    tables Field
    In This Topic
    The table manager.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: TableManager
    value = instance.tables;
    var tables : TableManager;
    Example
    This example creates a table.
    activeSheet.tables.add("Table1", 0, 0, 3, 3, GC.Spread.Sheets.Tables.TableThemes.dark1);
    activeSheet.getCell(0,0).text("Name");
    activeSheet.getCell(0,1).text("Value");
    activeSheet.getCell(0,2).text("T/F");
    activeSheet.getCell(1,0).text("AW");
    activeSheet.getCell(1,1).text("5");
    activeSheet.getCell(1,2).text("T");
    See Also

    Reference

    Worksheet type