本帖最后由 Joestar.Xu 于 2024-10-15 10:16 编辑
调研编号:SJS-26866
- sheet.autoMerge(range, GC.Spread.Sheets.AutoMerge.AutoMergeDirection.none);
- sheet.autoMerge(
- range,
- GC.Spread.Sheets.AutoMerge.AutoMergeDirection.column,
- GC.Spread.Sheets.AutoMerge.AutoMergeMode.restricted,
- GC.Spread.Sheets.SheetArea.viewport,
- GC.Spread.Sheets.AutoMerge.AutoMergeMode.restricted,
- );
- // 对特定列进行分组(例子:第1到5列)
- sheet.columnOutlines.group(0, 4);
复制代码 当我区域分组前四列可以折叠后,为什么之前autoMerge的行就失效了。(第五列的行合并失效了),我想在折叠完列后仍然保留表格之前的AutoMerge逻辑 |