GC.Spread.Sheets.Workbook有办法导出成MS Excel文档吗?若可以,请提供个范例
(如下,如何导出Excel文档)
let spread = new GC.Spread.Sheets.Workbook(document.getElementById('ss'));
var sheet = spread.getSheet(0);
//表头 一
sheet.setValue(0, 1, '资料来源:季报 / 年报');
sheet.setValue(1, 1, 'QPrice max.');
sheet.setValue(2, 1, 'QPrice min.');
sheet.setValue(3, 1, '单位:NT$ / K');
sheet.setValue(0, 2, 'KSF');
sheet.frozenRowCount(4);
sheet.frozenColumnCount(2);
|