Hi,
Does anyone know of a way of disabling or hiding individual menu items on the right click menu
on an individual grid
Hello Neil,
I think you want to hide the Context Menu.
Can you please see example here withou that menu - Dynamic row styles: https://outsystemsui.outsystems.com/DataGridSample/AdvancedSamples.aspx
You can download this example from Forge to see the code: https://www.outsystems.com/forge/component-overview/5555/
And also see some documentation about the context menu here: https://outsystemsui.outsystems.com/DataGridSample/GridComponents.aspx#ContextMenu
Hope it helps.
BR,
Luis
Thanks I have no idea how I missed that.
You are welcome Neil!
Happy coding!
Br,
Neil Evans wrote:
Hi Neil Evans,I understand what you want to do and I did it.1. How to hiding individual menu items on the right click menu on an individual grid.
Please add the red circled code in the correct position.
condition: Which screen you want to hide it
2. How to disabling individual menu items on the right click menu on an individual grid.
In function: disableUnchecked: function(gObj, obj, checked) {...}
Regards.
HuyenDV
Thanks for the reply, yes I can see that would work but it appears to require modification to the components javascript which will stop it from being easily upgradeable
Of course will customize according to your project, not entirely dependent on GridFramework.
Let make it easily ^^