SpreadJS 13
GC.Spread.Sheets Namespace / Fill type / FillSeries Field
In This Topic
    FillSeries Field
    In This Topic
    Represents the fill series for drag fill.
    Syntax
    var value; // Type: FillSeries
    value = GC.Spread.Sheets.Fill.FillSeries;
    var FillSeries : FillSeries;
    Example
    //This example automatically fills the data in an area of the sheet.
    activeSheet.setValue(0, 0, 5);
    var start = new GC.Spread.Sheets.Range(0, 0, 1, 1);
    var r3 = new GC.Spread.Sheets.Range(0, 0, 4, 1);
    activeSheet.fillAuto(start,r3, {fillType:GC.Spread.Sheets.Fill.FillType.auto, series:GC.Spread.Sheets.Fill.FillSeries.column, fillDirection:GC.Spread.Sheets.Fill.FillDirection.down});
    See Also

    Reference

    Fill type