Posted 19 September 2022, 7:30 am EST - Updated 3 October 2022, 12:01 am EST
Hi there,
I want to remove New, Import and Export from spread sheet when user click file button. How can I do that
Forums Home / Spread / SpreadJS
Posted by: gagandeep.singh on 19 September 2022, 7:30 am EST
Posted 19 September 2022, 7:30 am EST - Updated 3 October 2022, 12:01 am EST
Hi there,
I want to remove New, Import and Export from spread sheet when user click file button. How can I do that
Posted 19 September 2022, 8:51 pm EST - Updated 3 October 2022, 12:01 am EST
Hi Gagandeep,
You can remove the New, Import and Export from the Designer Component by simply modifying the FileMenuTemplate and then registering the modified filemenu template.
For example, you can refer to the following sample that I have created for you: https://jscodemine.grapecity.com/share/B5SfEvV9VEK-jcyb2Ap2LA/
API References:
registerTemplate method: GC.Spread.Sheets.Designer | JavaScript Spreadsheet | SpreadJS
Customize File Menu Docs: Customize File Menu | JavaScript Spreadsheet | SpreadJS
Regards, Ankit
Posted 18 October 2022, 7:53 am EST
Thank you so much