Get Free Trial

How to display Context Menu on multiple cells

Answered
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

Public
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: https://jsfiddle.net/flexmonster/9feqzm1m/ 

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

Kind regards,
Nadia

Public
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

Public
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,
Nadia

Please login or Register to Submit Answer