SpreadJS 14
GC.Spread.Sheets Namespace / AutoFitType Enumeration
In This Topic
    AutoFitType Enumeration
    In This Topic
    Represents whether the component automatically resizes cells or headers.
    Members
    MemberDescription
    cellThe component autofits cells.
    cellWithHeaderThe component autofits cells and headers.
    Example
    This example uses the AutoFitType enumeration.
    spread.options.autoFitType = GC.Spread.Sheets.AutoFitType.cellWithHeader;
    Remarks

    The default is cell.

    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.AutoFitType

    See Also