How to enable "Formate Cells..." option in context menu in SpreadJS React

Posted by: syedmudhasir.m on 5 September 2019, 5:35 pm EST

  • Posted 5 September 2019, 5:35 pm EST

    I am using SpreadJS with ReactJS when opening context menu i am not getting the option for "Formate Cells..." how to achieve it.
  • Marked as Answer

    Replied 8 September 2019, 5:50 pm EST


    The "Format Cells" option of the context menu is not part of the inbuilt functionality. The option shown in the Web designer sample is custom implementation to add excel like format cells option. If you want to add it in your application, then you need to create the dialog box with various options for formatting(as required) and then add it to the context menu. Please refer to the following sample which demonstrates how we could add custom options in context menu:

  • Replied 9 September 2019, 4:14 pm EST

    Thanks for your reply. I will try and update.

    Syed Mudhasir
  • Replied 10 September 2019, 2:57 pm EST

    Please take your time and let us know if you face any issues.
Need extra support?

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

Learn More

Forum Channels