SpreadJS 14
GC.Spread.Sheets.Tables Namespace / Table type / Table Constructor
The table name.
The table row index.
The table column index.
The table row count.
The table column count.
The table style.
The initialization options of the table.
Whether to display a header.
Whether to display a footer.
whether to use the footer dropdown list for a total row.
Whether to display the resize handle for table.
In This Topic
    Table Constructor
    In This Topic
    Represents a table that can be added in a sheet.
    Syntax
    var instance = new GC.Spread.Sheets.Tables.Table(name,
                                                    row,
                                                    col,
                                                    rowCount,
                                                    colCount,
                                                    style,
                                                    options,
                                                    options.showHeader,
                                                    options.showFooter,
                                                    options.useFooterDropDownList,
                                                    options.showResizeHandle);
    function Table( 
       name : string,
       row : number,
       col : number,
       rowCount : number,
       colCount : number,
       style : TableTheme,
       options : Object,
       (optional) options.showHeader : boolean,
       (optional) options.showFooter : boolean,
       (optional) options.useFooterDropDownList : boolean,
       (optional) options.showResizeHandle : boolean
    ) : Table;

    Parameters

    name
    The table name.
    row
    The table row index.
    col
    The table column index.
    rowCount
    The table row count.
    colCount
    The table column count.
    style
    The table style.
    options
    The initialization options of the table.
    options.showHeader
    Whether to display a header.
    options.showFooter
    Whether to display a footer.
    options.useFooterDropDownList
    whether to use the footer dropdown list for a total row.
    options.showResizeHandle
    Whether to display the resize handle for table.
    See Also

    Reference

    Table type