# Alarm Status Table Double click to open new window

**URL:** <https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 26, 2024, 6:45pm UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555 "2024-04-26T18:45:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pimemike](https://avatars.discourse-cdn.com/v4/letter/p/90ced4/32.png) [@pimemike](https://forum.inductiveautomation.com/u/pimemike)\
**Post date:** [April 26, 2024, 6:45pm UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/1 "2024-04-26T18:45:40Z")

</div>

I'm in the process of converting a vision project over to perspective and one of the items I'm having a tough time converting is the onDoubleClicked script I created.

Vision contains the parameter 'alarmEvent' which allows me to capture information related to the alarm i've double clicked, use it in a script and subsequently open a new window related to it. When I create an event on the alarmStatusTable object in perspective and try to double click an alarm, nothing happens because the doubeclick function is tied to the alarm status table object itself and not the individual alarm.

I'm new to the perspective side of things so i'm sure there's a good way to go about doing this. Any pointers?

---

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [May 15, 2024, 7:53am UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/2 "2024-05-15T07:53:05Z")

</div>

I also want to know how to resolve it......

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [May 15, 2024, 8:12am UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/3 "2024-05-15T08:12:08Z")

</div>

maybe there is a problem on your script.  
What are you having on your log when you double click ?

---

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [May 15, 2024, 8:43am UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/4 "2024-05-15T08:43:01Z")

</div>

First , on Double Click Scripts has self or event ,but can't know which column is DoubleClicked.

Second, I set selection-active-mode as **single** , I know which column data is DoubleClicked using self.props.selection.active.data. It's okay.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/1/515a32723413991864fa661bd549a78f590efe77.png)

But, if I set selection-active-mode as **multiple** , I don't know which data is DoubleClicked.

 ![1715762217692](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/7/970c36fb83b049bb526bc3ec3627ee0366678a62.jpeg)

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [May 15, 2024, 10:36am UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/5 "2024-05-15T10:36:16Z")

</div>

I think it can't work because, when you double click row selected and deselected the checkbox

---

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [May 24, 2024, 12:50am UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/6 "2024-05-24T00:50:09Z")

</div>

Yeah, Is there another way to jump to actualAlarm Page?

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [May 24, 2024, 2:08am UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/7 "2024-05-24T02:08:22Z")

</div>

Use context menu, right click. In the end, I think this is a better solution as you get more options on where you can navigate to, not just one choice.

---

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [May 27, 2024, 7:42am UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/8 "2024-05-27T07:42:26Z")

</div>

In Perspctive 8.1.24 How can I set define menu when I right Click on it?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/5/854060d1d8af81397f4e0766c40be5b385f2317e.png)

---

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [May 27, 2024, 8:02am UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/9 "2024-05-27T08:02:18Z")

</div>

Right Click

 ![1716796907804](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/d/0de849c9677c9800a640449088e115d70ccd0663.png)

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [May 27, 2024, 1:57pm UTC](https://forum.inductiveautomation.com/t/alarm-status-table-double-click-to-open-new-window/89555/10 "2024-05-27T13:57:15Z")

</div>

You'll need to upgrade

> **[Perspective Component Properties | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/working-with-perspective-components/perspective-component-properties#context-menu-item-types)**
>
> Each Perspective component has a unique set of properties that can be set and modified within the Perspective Property Editor. A component property is simply a named variable with a distinct type that affects something about the component's behavior...
