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.
Forums Home / Spread / SpreadJS
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.
Posted 8 September 2019, 5:50 pm EST
Hi,
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:
https://www.grapecity.com/demos/spread/JS/TutorialSample/Features/ContextMenu/customMenuView/purejs
Regards
Sharad
Posted 9 September 2019, 4:14 pm EST
Hi,
Thanks for your reply. I will try and update.
Regards
Syed Mudhasir
Posted 10 September 2019, 2:57 pm EST
Please take your time and let us know if you face any issues.