1. 为啥要用command
2. spread.setActiveSheetTab挺好使的啊
- spread.suspendPaint();
- var reportSheet = spread.addSheetTab(0, "报表", GC.Spread.Sheets.SheetType.reportSheet);
- if (reportSheet) {
- reportSheet.renderMode("Design");
- spread.setActiveSheetTab("报表");
- }
- spread.resumePaint();
复制代码 |