SpreadJS 13
GC.Spread.Sheets.Tables Namespace / Table type / bind Method
The array of table column information with data fields and names. Each item is GC.Spread.Sheets.Tables.TableColumn.
The binding path for binding in the table.
The data source for the table.
In This Topic
    bind Method
    In This Topic
    Gets or sets the dataSource and binding columns and path for the table.
    Syntax
    var instance = new GC.Spread.Sheets.Tables.Table(name,
                                                    row,
                                                    col,
                                                    rowCount,
                                                    colCount,
                                                    style,
                                                    options,
                                                    options.showHeader,
                                                    options.showFooter,
                                                    options.useFooterDropDownList,
                                                    options.showResizeHandle);
    var returnValue; // Type: Table
    returnValue = instance.bind(columns, value, dataSource);
    function bind( 
       columns : Array,
       value : string,
       dataSource : object
    ) : Table;

    Parameters

    columns
    The array of table column information with data fields and names. Each item is GC.Spread.Sheets.Tables.TableColumn.
    value
    The binding path for binding in the table.
    dataSource
    The data source for the table.

    Return Value

    returns the table.
    See Also

    Reference

    Table type