Need a special offer?Find out if your project fits.
+

How to prevent Drill through on double click event even though we needs to show on right click menu.

Answered
MKS asked on December 8, 2018

We wants to show drill through on "right click menu", but on Double click event we would like to open custom pop-up instead of drill through. so how do we prevent drill through on double click. Now, we can able to open custom pop-up by "celldoubleclick" which is fine, but meanwhile drill-through as well coming.

1 answer

Public
Tanya Gryshko Tanya Gryshko Flexmonster December 10, 2018

Hello,
Thank you for posting to our forum.
We can suggest the following scenario:
1) Disable the drill-through feature. As a result, the drill-through won't be shown on double click or in the context menu.
2) Add 'Drill through' item to the context menu with the help of customizeContextMenu function.
Here is the example demonstrating how to achieve the scenario from above: https://jsfiddle.net/flexmonster/1rm53nt9/95/. You can modify the example to further improve it.
Please let me know if you have more questions.
Regards,
Tanya

Please login or Register to Submit Answer