# Clear row selection on table sort

**URL:** <https://forum.inductiveautomation.com/t/clear-row-selection-on-table-sort/115599>\
**Category:** Ignition\
**Tags:** ignition83, perspective\
**Created:** [May 19, 2026, 1:37pm UTC](https://forum.inductiveautomation.com/t/clear-row-selection-on-table-sort/115599 "2026-05-19T13:37:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ron.deavers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ron.deavers/32/82978_2.png) [@ron.deavers](https://forum.inductiveautomation.com/u/ron.deavers)\
**Post date:** [May 19, 2026, 1:37pm UTC](https://forum.inductiveautomation.com/t/clear-row-selection-on-table-sort/115599/1 "2026-05-19T13:37:40Z")

</div>

I want to clear the selected row of a table when the column sort is clicked. If a user clicks on the sort in a column header, the row remains selected even if it is no longer on the current page. In my situation, when a row is selected, a user can perform actions on that row. I want to remove the row selection and disable the actions.

I have been unable to find an event that is fired on a column sort. Is there something that I am missing?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [May 19, 2026, 1:39pm UTC](https://forum.inductiveautomation.com/t/clear-row-selection-on-table-sort/115599/2 "2026-05-19T13:39:45Z")

</div>

I think you're right, there's no such even that I'm aware of. But you could suggest one:

> **[Ignition Features and Ideas | Inductive Automation](https://inductiveautomation.canny.io/ignition-features-and-ideas)**
>
> How can we improve Ignition?

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [May 19, 2026, 1:47pm UTC](https://forum.inductiveautomation.com/t/clear-row-selection-on-table-sort/115599/3 "2026-05-19T13:47:17Z")

</div>

Maybe a property change script on sortOrder?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/2/127f76c90a7bb7c9aba63aab68128003e375e258.png)

---

<div class="post-metadata">

**Author:** ![ron.deavers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ron.deavers/32/82978_2.png) [@ron.deavers](https://forum.inductiveautomation.com/u/ron.deavers)\
**Post date:** [May 19, 2026, 2:55pm UTC](https://forum.inductiveautomation.com/t/clear-row-selection-on-table-sort/115599/4 "2026-05-19T14:55:36Z")

</div>

Your solution did it. I had to use this method to make it work:

> [@Deselect and Un-Highlight Table Row](https://forum.inductiveautomation.com/t/deselect-and-un-highlight-table-row/79014/6):
>
> The most reliable way I've found to do this is to disable row selection, let that bounce over to the browser, which will then clear props.selection.data. A change event on props.selection.data can then re-enable row selection when it sees the new empty value. In general, properties that are set via user interaction in the browser, like selections, need to also be unset by the browser. Unsetting them directly via script (which runs in the gateway, not the browser) is unreliable.
