# Prevent changing rows on a table and open popup warning

**URL:** <https://forum.inductiveautomation.com/t/prevent-changing-rows-on-a-table-and-open-popup-warning/113738>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [February 3, 2026, 8:55pm UTC](https://forum.inductiveautomation.com/t/prevent-changing-rows-on-a-table-and-open-popup-warning/113738 "2026-02-03T20:55:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.chmelka](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alex.chmelka/32/26672_2.png) [@alex.chmelka](https://forum.inductiveautomation.com/u/alex.chmelka)\
**Post date:** [February 3, 2026, 8:55pm UTC](https://forum.inductiveautomation.com/t/prevent-changing-rows-on-a-table-and-open-popup-warning/113738/1 "2026-02-03T20:55:39Z")

</div>

Trying to do something on the GUI I don’t even know is possible, and I wanted to ping the forums to get anyone else’s opinion. I have a perspective screen that has a table on it. A user selects a row on the table and enters data elsewhere on the screen. Once they enter the data they want, they hit a ‘save’ button which pushes those changes to a database. I wanted to add a feature that if the user selects a new row while they have unsaved changes on a previously selected row, to throw a warning popup that prevents the row selection change which wipes out all the data entered from the previous row.

I tried experimenting, but I couldn’t find any sort of event action that I could grab for this. There are events for when the row changes, but that is after the row selection has occurred and my change scripts/bindings trigger which wipe out the “unsaved” changes.

Thanks for any help with this.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 3, 2026, 9:15pm UTC](https://forum.inductiveautomation.com/t/prevent-changing-rows-on-a-table-and-open-popup-warning/113738/2 "2026-02-03T21:15:32Z")

</div>

That would be an unusual and confusing user interface.  
A more standard way would be to open a modal popup on row click, passing the rowdata and the database row ID and work from there.  
Once the modal popup is open the user can't select another row without closing the popup.

---

<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:** [February 3, 2026, 9:27pm UTC](https://forum.inductiveautomation.com/t/prevent-changing-rows-on-a-table-and-open-popup-warning/113738/3 "2026-02-03T21:27:50Z")

</div>

I would experiment with disabling the table entirely when editing begins elsewhere.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [February 3, 2026, 9:51pm UTC](https://forum.inductiveautomation.com/t/prevent-changing-rows-on-a-table-and-open-popup-warning/113738/4 "2026-02-03T21:51:18Z")

</div>

I've done exactly this, so you can definitely set it up this way with some custom props to hold editing state, etc.

I think Transistor's idea sounds like a much better and simple solution.
