# Turn off / Disable Acknowledge all Button on Alert Summary?

**URL:** <https://forum.inductiveautomation.com/t/turn-off-disable-acknowledge-all-button-on-alert-summary/3426>\
**Category:** Ignition\
**Created:** [October 13, 2011, 10:58am UTC](https://forum.inductiveautomation.com/t/turn-off-disable-acknowledge-all-button-on-alert-summary/3426 "2011-10-13T10:58:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![peadair](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@peadair](https://forum.inductiveautomation.com/u/peadair)\
**Post date:** [October 13, 2011, 10:58am UTC](https://forum.inductiveautomation.com/t/turn-off-disable-acknowledge-all-button-on-alert-summary/3426/1 "2011-10-13T10:58:19Z")

</div>

Hi  
I was just wondering if it is possible to either remove or disable the Acknowledge all button on the Alert Summary Table?

This is a request from a client as it could cause some mix up if someone presses it by mistake and doesn’t realise they have done so.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [October 13, 2011, 2:23pm UTC](https://forum.inductiveautomation.com/t/turn-off-disable-acknowledge-all-button-on-alert-summary/3426/2 "2011-10-13T14:23:40Z")

</div>

Well, you can hide both of the acknowledge buttons on the alert summary table by setting the Ack Buttons Location property to Hidden. You can then add your own Acknowledge button (using the regular Ignition button):

1. Drag a button onto the window
2. Set the actionPerformed event (right click on button and select Event Handlers, then actionPerformed under action on the left and lastly the script editor tab) to the following code:`table = event.source.parent.getComponent('Alert Summary')
data = table.alerts
row = table.selectedRow
if row != -1:
 alertSys = data.getValueAt(row, "System")
 alertPath = data.getValueAt(row, "Path")
 alertState = data.getValueAt(row, "State Name")
 system.alert.acknowledgeAlert(alertSys, alertPath, alertState)`We expose the alerts that are shown on the alert summary table to a property called Alerts. We also expose the Selected Row as a property. When you select the first row, for example, the selected row property will be a value of 0 which is the index into the alerts dataset. You can then go inside of the dataset and grab the system, path, and state name which is needed for the system.alert.acknowledgeAlert function. Let us know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![peadair](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@peadair](https://forum.inductiveautomation.com/u/peadair)\
**Post date:** [October 13, 2011, 4:13pm UTC](https://forum.inductiveautomation.com/t/turn-off-disable-acknowledge-all-button-on-alert-summary/3426/3 "2011-10-13T16:13:49Z")

</div>

Thats exactly what I was looking for

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![ashwin.kandavalli](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@ashwin.kandavalli](https://forum.inductiveautomation.com/u/ashwin.kandavalli)\
**Post date:** [June 19, 2020, 10:36am UTC](https://forum.inductiveautomation.com/t/turn-off-disable-acknowledge-all-button-on-alert-summary/3426/4 "2020-06-19T10:36:59Z")

</div>

> [@Travis.Cox](#):
>
> system.alert.

Hello Travis.Cox,

Can we disable alarm acknowledge button on selecting(ack) the desired row from alarm status table  
and make it enable if there are any other alarms in the table respectively.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [June 19, 2020, 1:13pm UTC](https://forum.inductiveautomation.com/t/turn-off-disable-acknowledge-all-button-on-alert-summary/3426/5 "2020-06-19T13:13:33Z")

</div>

We have an extension function on the alarm status table that will allow the acknowledgement on a per alarm basis:

 ![2020-06-19 06_02_26-Component Scripting Alarm Status Table](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3a1acee71fe2397507224bc7e5ae417058b573ba.png)

---

<div class="post-metadata">

**Author:** ![ashwin.kandavalli](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@ashwin.kandavalli](https://forum.inductiveautomation.com/u/ashwin.kandavalli)\
**Post date:** [June 19, 2020, 2:11pm UTC](https://forum.inductiveautomation.com/t/turn-off-disable-acknowledge-all-button-on-alert-summary/3426/6 "2020-06-19T14:11:01Z")

</div>

Thanks for quick response  
but i want to disable button on acknowledging particular alert and enabling for those which were left unacknowledged

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bd289befcc72308b94f4f267eab4433da245663d.png)
