SpreadJS 13
GC.Spread.Sheets.Tables Namespace / Table type / allowAutoExpand Method
The allowAutoExpandState of the table.
In This Topic
    allowAutoExpand Method
    In This Topic
    Gets or sets the allowAutoExpandState of 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 value; // Type: any
    value = instance.allowAutoExpand(allowAutoExpandState);
    function allowAutoExpand( 
       (optional) allowAutoExpandState : boolean
    ) : any;

    Parameters

    allowAutoExpandState
    The allowAutoExpandState of the table.

    Return Value

    If there is no allowAutoExpandState set, returns the table allowAutoExpandState; otherwise, returns the table.
    Example
    table.allowAutoExpand();
    table.allowAutoExpand(true);
    See Also

    Reference

    Table type