Designer Component: Customizing the Save File dialog when exporting Excel File

Posted by: licensing on 14 April 2025, 11:36 am EST

  • Posted 14 April 2025, 11:36 am EST

    Hello,

    I’d like to programmatically specify a default file name for the Save File dialog that pops up after I click the “Export Excel File” from the File/Export menu.

    I found the following page in your documentation that talks about

    designer.setData("saveFileName", "New File");
    , but unfortunately it only customizes the Save File dialog that pops up when I try to import a file and I get prompted to save any unsaved work.

    https://developer.mescius.com/spreadjs/docs/spreadjs-designer-component/customizations/customize-save-file-dialog

  • Posted 15 April 2025, 6:10 am EST

    Hi,

    We can replicate the behaviour you mentioned on our end. However, the Save File Dialog customization is only supported when importing a file into SpreadJS, and some unsaved work exists in the SpreadJS instance.

    Unfortunately, this type of customization is not supported for the “Export Excel File” dialog from the File/Export menu.

    Please feel free to reach out if you encounter any further questions or require additional guidance.

    Best Regards,

    Ankit

Need extra support?

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

Learn More

Forum Channels