🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all hot features!
Get Free Trial

How to hide right click on rows and column header cells ?

Patrick TAVARIS asked on October 2, 2019

I’m trying to find the flexmonster option (I suppose general option or grid option) to let me hide the right click option on rows and column header cells ?
On ipad it is a simple clic.
In some use case we need to hide any kind of customization (except row/col sorting) and this right click let the user do customization (filter on cell value) 🙁
By the way, option grid.showFilter is of course set to false in our use case.

I can’t find the option on the documentation (or maybe I’ve not seen it).
Or maybe it is an issue your side as I think if showFilter=false, we should not let user filter on a column/row value using right click menu, doesn’t it ?

I attach a screenshot.
Luc Bonnin

1 answer

Ian Sadovy Ian Sadovy Flexmonster October 3, 2019

Hello Luc,
Thank you for the question.
You can completely disable or remove some items from the context menu using the customizeContextMenu hook. Please find more details here: https://www.flexmonster.com/doc/customizing-context-menu/
Please let us know if it works for you.

This question is now closed