# Perspective Context Menu

**URL:** <https://forum.inductiveautomation.com/t/perspective-context-menu/37702>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 13, 2020, 8:38pm UTC](https://forum.inductiveautomation.com/t/perspective-context-menu/37702 "2020-08-13T20:38:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [August 13, 2020, 8:38pm UTC](https://forum.inductiveautomation.com/t/perspective-context-menu/37702/1 "2020-08-13T20:38:41Z")

</div>

Currently the context menu on the table component just allows for “Copy” (Which doesnt seem to work either whenever I try it?) but I was curious if its possible to customize that context menu at all. I know there is the onContextMenu click event for the table, but it just matches your typical click event.

The end goal, is that my user currently clicks on a row and it navigates them to a new page, but I would like them to be able to right click (or click and hold on a touch screen) and “Open in new tab”

Any ideas?

Thanks,  
Keith G.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [August 14, 2020, 5:50am UTC](https://forum.inductiveautomation.com/t/perspective-context-menu/37702/2 "2020-08-14T05:50:04Z")

</div>

There’s no way to customize the context menu of the Table component.

The best option available as of 8.0.16 is to have the `onContextMenu` Event open a Popup (with “Relative” positioning in place). The View of the Popup should be designed to be small and it should contain a link. You can style this link to look like a Label, but you’ll want to pass the Popup the intended destination as a param and Bind the `url` property of the Link to that Param. Set the `text` property of the Link to be “Open in new tab”. You also should set the `target` property of the Link to be `tab`.
