SpreadJS 13
GC.Spread.Sheets.Tables Namespace / Table type / useFooterDropDownList Method
Whether to use the footer dropdown list.
In This Topic
    useFooterDropDownList Method
    In This Topic
    Gets or sets a value that indicates whether to use the footer dropdown list for a total row.
    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: any
    returnValue = instance.useFooterDropDownList(value);
    function useFooterDropDownList( 
       value : boolean
    ) : any;

    Parameters

    value
    Whether to use the footer dropdown list.

    Return Value

    If no value is set, returns whether to use the footer dropdown list for a total row, by default is false; otherwise, returns the table.
    Example
    var sTable = activeSheet.tables.add("table1", 1, 1, 10, 5, GC.Spread.Sheets.Tables.TableThemes.medium2);
    sTable.useFooterDropDownList(true);
    See Also

    Reference

    Table type