[Data Grid Web] [Data Grid Web] - how to disable Header context menu?
Forge component by OutSystems R&D


When you right click on the datagrid headers this context menu appears.

Does anyone knows how to disable this behavior?

Thank you


Hello @Rafael Oliveira ,

There is no input parameter or any out of the fox feature that allows to remove the freeze columns context menu.

There is a workaround to achieve this, that consists in overriding the GridOS.ContextMenuFeature.menuEvent.

To do this you can add JS block like in the image:

In attachment you have an OML file where this has been done for you guidance.

Please bear in mind that we didn't make all the necessary tests to ensure that it will work on all possible use cases.

Please let us know if this helps.

Bruno Martinho 


Hi @Bruno Martinho ,

That works perfectly.

Thank you.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.