# Button click not working in table,If row is selected

**URL:** <https://forum.inductiveautomation.com/t/button-click-not-working-in-table-if-row-is-selected/38099>\
**Category:** Ignition\
**Created:** [August 26, 2020, 4:12pm UTC](https://forum.inductiveautomation.com/t/button-click-not-working-in-table-if-row-is-selected/38099 "2020-08-26T16:12:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anita.Shinde](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Anita.Shinde](https://forum.inductiveautomation.com/u/Anita.Shinde)\
**Post date:** [August 26, 2020, 4:12pm UTC](https://forum.inductiveautomation.com/t/button-click-not-working-in-table-if-row-is-selected/38099/1 "2020-08-26T16:12:34Z")

</div>

Hi,  
I have one table with button, It is is a template and I am rendering view for that column.  
When row is selected and if I am clicking on button then that button click is not working.  
How can I achive this.  
any idea?  
Thanks

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/4/f4cb5b7d17b3ac592f72c3c3de0091cbe2770893.png)

---

<div class="post-metadata">

**Author:** ![fleclerc](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/fleclerc/32/20480_2.png) [@fleclerc](https://forum.inductiveautomation.com/u/fleclerc)\
**Post date:** [January 5, 2021, 4:14pm UTC](https://forum.inductiveautomation.com/t/button-click-not-working-in-table-if-row-is-selected/38099/2 "2021-01-05T16:14:56Z")

</div>

Glad that I am not alone; I have the exact same issue to open a popup showing more details. The click event works only if I directly click on the button when the row is not selected.

It is really annoying for the user, and it is impossible to click twice on the same button.

---

<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:** [January 5, 2021, 5:25pm UTC](https://forum.inductiveautomation.com/t/button-click-not-working-in-table-if-row-is-selected/38099/3 "2021-01-05T17:25:01Z")

</div>

I believe we’re looking into long-term fixes for this, but in the short-term, have you considered removing the ability to select rows? You could set `Table.props.selection.enableRowSelection` to `false`, and this would prevent the overlay from intercepting your clicks.

Even if you need row selection to be available, you can short-circuit this process by sending a message from the buttons you are clicking to disable selection (this would remove the selection of the row which houses the button), and then immediately turn selection back on. This would prevent button clicks from selecting a row, while allowing clicks of the row to work as before.

---

<div class="post-metadata">

**Author:** ![fleclerc](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/fleclerc/32/20480_2.png) [@fleclerc](https://forum.inductiveautomation.com/u/fleclerc)\
**Post date:** [January 6, 2021, 9:48pm UTC](https://forum.inductiveautomation.com/t/button-click-not-working-in-table-if-row-is-selected/38099/4 "2021-01-06T21:48:41Z")

</div>

Good news, the issue was **solved in 8.1.1**.

_Release note:_  
[“Selected rows within a Table Component no longer prevents click events to views rendered within the Table.”](https://inductiveautomation.com/downloads/releasenotes/8.1.1)
