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

    Reference

    Fill type