您好,需要执行:- const designer = new GC.Spread.Sheets.Designer.Designer(document.getElementById("gc-designer-container"));
- const spread = designer.getWorkbook();
- const sheet = spread.getActiveSheet();
- spread.options.scrollByPixel = true;
- spread.options.scrollbarShowMax = true;
- spread.options.scrollbarMaxAlign = true;
- sheet.defaults.rowHeight = 26;
- sheet.defaults.colWidth = 104;
复制代码
再执行fromJSON
|
|