Posted 23 February 2023, 5:59 am EST - Updated 23 February 2023, 6:04 am EST
Hi,
We are using this code to remove the New option in File menu and it works great.
let template = GC.Spread.Sheets.Designer.getTemplate(GC.Spread.Sheets.Designer.TemplateNames.FileMenuPanelTemplate)
template.content[0].children[0].children[0].children[0].children[1].items.splice(0, 1)
template.content[0].children[0].children[1].children.splice(0, 1)
GC.Spread.Sheets.Designer.registerTemplate(GC.Spread.Sheets.Designer.TemplateNames.FileMenuPanelTemplate, template)
Can the Export option be automatically selected when a user clicks on the File menu?
Regards,
Thanh

