SpreadJS 15
GC.Spread.Sheets.Commands Namespace / fill type
In This Topic
    fill type
    In This Topic
    Represents the command used to drag and fill a range on the sheet.
    spread.options.allowUndo = true;
    var srange = new GC.Spread.Sheets.Range(10, 5, 1, 1);
    var frange = new GC.Spread.Sheets.Range(11, 5, 5, 1);
    spread.commandManager().execute({cmd: "fill", sheetName: "Sheet1", startRange: srange, fillRange: frange, autoFillType: GC.Spread.Sheets.Fill.AutoFillType.fillSeries, fillDirection: GC.Spread.Sheets.Fill.FillDirection.down });
    Inheritance Hierarchy


    See Also