是的。我贴下整个代码吧
var spreadContainer = document.getElementById('spread-container');
if (spreadContainer) {
me.workbook = new GC.Spread.Sheets.Workbook(spreadContainer, { sheetCount: 3 });
me.setDataValue(me.workbook, tableResult)
me.setColumnWidth(tableResult)
}
me.designer = new GC.Spread.Sheets.Designer.Designer(document.getElementById("designer-host"));
me.designer.setWorkbook(me.workbook)
|