# How to remove the selection from the Alarm Status Table

**URL:** <https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890>\
**Category:** Ignition\
**Created:** [April 8, 2015, 3:59pm UTC](https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890 "2015-04-08T15:59:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didi71](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@Didi71](https://forum.inductiveautomation.com/u/Didi71)\
**Post date:** [April 8, 2015, 3:59pm UTC](https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890/1 "2015-04-08T15:59:25Z")

</div>

Hello everybody.

Is it possible to programmatically (via scripting, of course) remove the selection from the Alarm Status Table?

Thanks in advance. 😃

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [April 8, 2015, 7:29pm UTC](https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890/2 "2015-04-08T19:29:24Z")

</div>

Are you trying to make it so no alarms are selected in the Alarm Status Table? If so, `event.source.parent.getComponent('Alarm Status Table').clearSelectedAlarms()` should do it for you.

---

<div class="post-metadata">

**Author:** ![Didi71](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@Didi71](https://forum.inductiveautomation.com/u/Didi71)\
**Post date:** [April 9, 2015, 6:46am UTC](https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890/3 "2015-04-09T06:46:04Z")

</div>

Hello and thank you for your fast replay.

Unfortunately your code seems to be not working. Here the exception message:

Traceback (most recent call last): File “event:internalFrameActivated”, line 1, in AttributeError: ‘[com.inductiveautomation.factorypmi.application.com](http://com.inductiveautomation.factorypmi.application.com)’ [color=#FF0000]object has no attribute ‘clearSelectedAlarms’[/color]  
Ignition v7.7.3 (b2015022512)  
Java: Oracle Corporation 1.8.0\_40

But just one clarification: I don’t need to clear the selected alarms but I wish to clear the row selection that cause the “focus rect” around the row where I clicked.

Best regards.  
Diego.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [April 9, 2015, 2:16pm UTC](https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890/4 "2015-04-09T14:16:12Z")

</div>

clearSelectedAlarms was added in 7.7.4, which explains why you get an error but it works for me.

To clear the row selection, it looks like you’d need access to the underlying table model, which isn’t a public method. ☹

---

<div class="post-metadata">

**Author:** ![2Gi\_Technologie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/2gi_technologie/32/3307_2.png) [@2Gi\_Technologie](https://forum.inductiveautomation.com/u/2Gi_Technologie)\
**Post date:** [November 21, 2017, 10:32am UTC](https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890/5 "2017-11-21T10:32:31Z")

</div>

Hello everybody.

Is it possible to programmatically (via scripting) **select all alarms** from the Alarm Status Table?

Thanks in advance. 😃

---

<div class="post-metadata">

**Author:** ![dwoo](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dwoo](https://forum.inductiveautomation.com/u/dwoo)\
**Post date:** [July 7, 2020, 8:06pm UTC](https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890/6 "2020-07-07T20:06:28Z")

</div>

Is there a list of all of the public methods available for the Alarm Status object? I do not see any refs in the user manual (v8)'s Appendix.

---

<div class="post-metadata">

**Author:** ![dwoo](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dwoo](https://forum.inductiveautomation.com/u/dwoo)\
**Post date:** [July 8, 2020, 12:32pm UTC](https://forum.inductiveautomation.com/t/how-to-remove-the-selection-from-the-alarm-status-table/9890/7 "2020-07-08T12:32:06Z")

</div>

Found it at [http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.10/com/inductiveautomation/factorypmi/application/components/AlarmStatusTable.html](http://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.10/com/inductiveautomation/factorypmi/application/components/AlarmStatusTable.html)
