# UnSelecting a table row

**URL:** <https://forum.inductiveautomation.com/t/unselecting-a-table-row/33397>\
**Category:** Ignition\
**Created:** [March 25, 2020, 2:41pm UTC](https://forum.inductiveautomation.com/t/unselecting-a-table-row/33397 "2020-03-25T14:41:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![twstevic](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@twstevic](https://forum.inductiveautomation.com/u/twstevic)\
**Post date:** [March 25, 2020, 2:41pm UTC](https://forum.inductiveautomation.com/t/unselecting-a-table-row/33397/1 "2020-03-25T14:41:45Z")

</div>

I am working on reproducing an existing custom HMI system with Ignition. In order to make both applications work somewhat the same, I have a Power Table that contains 9 columns from a database (MySQL), when a user selects a row, a popup is displayed that contains additional information (9 additional columns) from the data returned from the query. What I need to do is to ‘Unselect’ the row so the popup goes away and the table row goes back to its original color. I can find no way to unselect a row from a table using a script. I am currently running 8.0.9  
Any Ideas?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 25, 2020, 2:56pm UTC](https://forum.inductiveautomation.com/t/unselecting-a-table-row/33397/2 "2020-03-25T14:56:12Z")

</div>

Set the selectedRow property to -1.
