How to disable changing Sheet tab names in the SpreadJS Designer control

Posted by: georgeg on 31 March 2025, 6:11 pm EST

    • Post Options:
    • Link

    Posted 31 March 2025, 6:11 pm EST

    Hi, cannot find how you can disable changing the name of a sheet tab? is there an option: “allowSheetRename”? Or is there a way I can bounce the user a warning message with an onClick event for the sheetTab?

    Thanks!

    George

  • Posted 31 March 2025, 6:17 pm EST

    Oops this does work:

        var designer = new GC.Spread.Sheets.Designer.Designer(document.getElementById('spreadJsSpreadsheet'));
        var spread = designer.getWorkbook();
        spread.options.tabEditable = false;

  • Posted 1 April 2025, 12:25 am EST

    Hi,

    Glad you found the way to inhibit the tab editing. Please feel free to reach out if you need any assistance.

    Best Regards,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels