本帖最后由 Ellia.Duan 于 2024-5-11 14:07 编辑
您好,可以通过下面的代码再检查下:
- var sheetName = sheet.name();
- var fromRange1 = [new GC.Spread.Sheets.Range(0,0,5,1)];
- var toRange1 = [new GC.Spread.Sheets.Range(5,0,5,1)];
- spread.commandManager().execute(
- {
- cmd: "clipboardPaste",
- sheetName: sheetName,
- fromSheet: sheet,
- fromRanges: fromRange1,
- pastedRanges: toRange1,
- isCutting: false,
- clipboardText: "",
- pasteOption: GC.Spread.Sheets.ClipboardPasteOptions.all
- }
- );
复制代码
如果还未能解决,可以将您的文件导出为sjs或者json文件,然后上传上来。
|