# Cell Update Bi-directional Tag

**URL:** <https://forum.inductiveautomation.com/t/cell-update-bi-directional-tag/99493>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [December 5, 2024, 7:38pm UTC](https://forum.inductiveautomation.com/t/cell-update-bi-directional-tag/99493 "2024-12-05T19:38:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mitchell\_Gerber](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mitchell\_Gerber](https://forum.inductiveautomation.com/u/Mitchell_Gerber)\
**Post date:** [December 5, 2024, 7:38pm UTC](https://forum.inductiveautomation.com/t/cell-update-bi-directional-tag/99493/1 "2024-12-05T19:38:09Z")

</div>

Is there a way to make a tag bi-directional in the cell update area of a dataset. I read my tags correctly and have made them editable but when I hit enter it goes back to the original tag value.

Any help would be great. Thanks!

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [December 5, 2024, 8:08pm UTC](https://forum.inductiveautomation.com/t/cell-update-bi-directional-tag/99493/2 "2024-12-05T20:08:08Z")

</div>

You have to use the `onCellEdited` extension function if you want to do it within the table itself.

Instead, I often opt to create my own table row template that takes a single index parameter and uses numeric input components. Then, use a template repeater with that index. Of course, you would have to have your tags set up properly for that to work. (or, you could use the dataset method instead of the index method on the repeater)

Much more user and future-dev friendly than the extension function.

---

<div class="post-metadata">

**Author:** ![Mitchell\_Gerber](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mitchell\_Gerber](https://forum.inductiveautomation.com/u/Mitchell_Gerber)\
**Post date:** [December 5, 2024, 8:29pm UTC](https://forum.inductiveautomation.com/t/cell-update-bi-directional-tag/99493/3 "2024-12-05T20:29:35Z")

</div>

What do you bind it to in the onCellEdited extension?

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [December 5, 2024, 8:34pm UTC](https://forum.inductiveautomation.com/t/cell-update-bi-directional-tag/99493/4 "2024-12-05T20:34:00Z")

</div>

You would have to write a python script to read the changed value and write it to the tag.

IMO, that's too much work for something that is so simple if you make a template for a template repeater.

---

<div class="post-metadata">

**Author:** ![Mitchell\_Gerber](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Mitchell\_Gerber](https://forum.inductiveautomation.com/u/Mitchell_Gerber)\
**Post date:** [December 5, 2024, 8:36pm UTC](https://forum.inductiveautomation.com/t/cell-update-bi-directional-tag/99493/5 "2024-12-05T20:36:40Z")

</div>

Yes, I agree. I will try the template repeater. Thanks!
