Hi,
I have a tree component, on right click, i would like open a pop up. Currently i have done it by double click. Is there any chance to do for right click?
Hi,
I have a tree component, on right click, i would like open a pop up. Currently i have done it by double click. Is there any chance to do for right click?
You can use contextMenu
https://docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/working-with-perspective-components/perspective-component-properties#contextmenu
The easiest way is to add an item to the context menu.
props.META.contextMenu.enabled : true
props.META.contextMenu.items : etc.
@Ujwal_Wankhede: SNAP!
But how to open a popup on right click?
Hey thanks for the headsup.
I tried using context menu and message handler, it worked as expected.