Get Free Trial

How to display Context Menu on multiple cells

Yosef asked on August 4, 2022

We need to run a custom Context Menu action over multiple cells in the pivot grid.

At the moment if I right click on multiple cells the default browser context menu is displayed, but I found earlier when testing that the Flexmonster Context Menu was working over multiple cells.

I’m not sure why it was working sometimes and not others. Is there anything we can do?

3 answers

Nadia Khodakivska Nadia Khodakivska Flexmonster August 5, 2022

Hello, Yosef,

Thank you for reaching out to us.

Please note that the default tabs of the context menu do not provide functionality connected with multi-selected cells. That is why the context menu is not appearing in case new tabs are not added.
You are welcome to check the following JSFiddle showing the context menu with several cells selected: 

You are welcome to write to us in case further questions arise.

Kind regards,

Yosef 5 days ago

Hi Nadia,
Thanks for your response and the demo.
Sorry, I can see now it was due to a condition I put on my end which only returned true when one cell was selected.
It works, thanks

Nadia Khodakivska Nadia Khodakivska Flexmonster 5 days ago

Hi, Yosef,

Thank you for the response.

We are glad to hear that it works for you.

As always, feel free to contact us if other questions arise.

Kind regards,

Please login or Register to Submit Answer