# Power table OnCellEdit update tag with user input

**URL:** <https://forum.inductiveautomation.com/t/power-table-oncelledit-update-tag-with-user-input/48376>\
**Category:** Ignition\
**Created:** [June 30, 2021, 5:28pm UTC](https://forum.inductiveautomation.com/t/power-table-oncelledit-update-tag-with-user-input/48376 "2021-06-30T17:28:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dzohner](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@dzohner](https://forum.inductiveautomation.com/u/dzohner)\
**Post date:** [July 1, 2021, 6:14pm UTC](https://forum.inductiveautomation.com/t/power-table-oncelledit-update-tag-with-user-input/48376/4 "2021-07-01T18:14:52Z")

</div>

This solution worked for me, I went with the hidden column approach. To anyone that comes across this later I used a hidden column as a string and wrote in the tag path and followed this code snippet

> [@Update opc tags from a vision table?](http://forum.inductiveautomation.com/t/update-opc-tags-from-a-vision-table/45599/5):
>
> The below assumes you are editing COLUMN 0 and the Tagpath is in COLUMN 1 Adjust as needed. if colIndex==0: tPath = self.data.getValueAt(rowIndex,1) system.tag.write(tPath,newValue) self.data = system.dataset.setValue(self.data, rowIndex, colIndex, newValue) print tPath

I was writing the tag path wrong here is a page from induction for reference to anyone who searches this topic in the future.

[https://docs.inductiveautomation.com/display/DOC80/Tag+Paths](https://docs.inductiveautomation.com/display/DOC80/Tag+Paths)

Thank everyone

---

_[View the full topic](https://forum.inductiveautomation.com/t/power-table-oncelledit-update-tag-with-user-input/48376)._
