Custom (More) Buttons in Perspective

Hi team,

I’d like to implement a “more options” menu similar to the one shown in the image below:

image

I initially tried using a popup, but since this is being used inside a Flex Repeater, it doesn’t behave as expected.

Could you please suggest an alternative way to achieve this kind of functionality (e.g., showing Export, Print, etc.) that works properly inside a subview of a Flex Repeater?

Thanks in advance!

Could you post your popup configuration? Also, your page config could also be useful.

One option: In the button's onActionPerformed event, add this self.requestContextMenu() This will trigger a contextMenu dropdown.

Make sure to configure your contextMenu on the component under META

Perspective Component Properties | Ignition User Manual

5 Likes

Clever trick !

thanks @dkhayes117 .

it is working :slightly_smiling_face:

Thanks again for immediate reply

1 Like