本帖最后由 Clark.Pan 于 2023-9-27 16:34 编辑
产品:SpreadJS 版本:V16.2.3 问题编号:SJS-20330
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.zoom(0.8)
sheet.setValue(2,1, '🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳🇨🇳') 手动更改自动换行
|