本帖最后由 lin123 于 2018-3-21 12:00 编辑
- window.onload = function() {
- var spread1 = new GC.Spread.Sheets.Workbook($("#sheet1")[0], {
- sheetCount : 1
- });
- var spread2 = new GC.Spread.Sheets.Workbook($("#sheet2")[0], {
- sheetCount : 1
- });
- var sheet1 = spread1.getActiveSheet();
- var sheet2 = spread2.getActiveSheet();
-
- sheet1.getCell(0, 3).value("1");
- sheet2.suspendPaint();
- var value = sheet1.getCell(0, 3).value();
- sheet2.getCell(2, 3).value(value);
- sheet2.resumePaint();
- }
复制代码
你看是不是这样? |