这个功能目前界面操作不支持,可以通过接口来完成,参考下面代码:
- $(document).ready(function () {
- var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"));
- var excelIo = new GC.Spread.Excel.IO();
- var sheet = spread.getActiveSheet();
- sheet.setValue(0, 0, 5);
- sheet.setTag(0,0,"aaa");
- var start = new GC.Spread.Sheets.Range(0, 0, 1, 1);
- var r3 = new GC.Spread.Sheets.Range(0, 0, 4, 1);
- sheet.fillAuto(start,r3, {withTag:false, fillType:GC.Spread.Sheets.Fill.FillType.auto, series:GC.Spread.Sheets.Fill.FillSeries.column, fillDirection:GC.Spread.Sheets.Fill.FillDirection.down});
-
- });
复制代码 |