SpreadJS 13
GC.Spread.Sheets.Commands Namespace / autoFitColumn type
In This Topic
    autoFitColumn type
    In This Topic
    Represents the command used to automatically resize the column in a sheet.
    Example
    var columns = [ { col: 3 } ];
    spread.options.allowUndo = true;
    spread.commandManager().execute({cmd: "autoFitColumn", sheetName: "Sheet1", columns: columns, isRowHeader: false, autoFitType: GC.Spread.Sheets.AutoFitType.cell});
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.Commands.autoFitColumn

    See Also