您好,请参考以下代码:
- let designerConfig = JSON.parse(
- JSON.stringify(GC.Spread.Sheets.Designer.DefaultConfig)
- );
- designerConfig.ribbon[7].buttonGroups[0].commandGroup.children[0].commands.splice(0, 1)
- let designer = new GC.Spread.Sheets.Designer.Designer(
- "gc-designer-container",
- designerConfig
- );
复制代码 |