# How to use scripting to remove active editing from a Table field

**URL:** <https://forum.inductiveautomation.com/t/how-to-use-scripting-to-remove-active-editing-from-a-table-field/83953>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [January 9, 2024, 2:00am UTC](https://forum.inductiveautomation.com/t/how-to-use-scripting-to-remove-active-editing-from-a-table-field/83953 "2024-01-09T02:00:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sherman](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@sherman](https://forum.inductiveautomation.com/u/sherman)\
**Post date:** [January 9, 2024, 2:00am UTC](https://forum.inductiveautomation.com/t/how-to-use-scripting-to-remove-active-editing-from-a-table-field/83953/1 "2024-01-09T02:00:08Z")

</div>

I have an editable table and when someone is actively editing one of the fields, it will not repopulate if they immediately click the "load" button that will populate them in the first place. I guess the GUI edit funcitonality supercedes a dataset load on a table object. Since the table holds only a single instance of what they might be bouncing around between, I'd like it to be smoother to load other options between edits.

What command will remove the active targeted edit cursor from the table? I have tried `event.source.requestFocusInWindow()` on the button that is dispatching the update command, but it didn't work.
