SpreadJS Documentation
FillDirection Enumeration
Represents the type of drag fill direction.
Members
MemberDescription
DownFills from the top to the bottom.
LeftFills from the right to the left.
RightFills from the left to the right.
UpFills from the bottom to the top.
Example
This example uses the FillDirection type.
var start = new GcSpread.Sheets.Range(0, 2, 1, 1);
activeSheet.setValue(0, 2, 5);
var r3 = new GcSpread.Sheets.Range(0, 2, 4, 1);
activeSheet.fillAutobyDirection(start, r3, GcSpread.Sheets.FillDirection.Down);
This example automatically fills the data in an area of the sheet.
activeSheet.setValue(0, 0, 5);
var start = new GcSpread.Sheets.Range(0, 0, 1, 1);
var r3 = new GcSpread.Sheets.Range(0, 0, 4, 1);
activeSheet.fillAuto(start,r3, GcSpread.Sheets.FillSeries.Column, GcSpread.Sheets.FillDirection.down);
Inheritance Hierarchy

Object
   GcSpread.Sheets.FillDirection

See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.