# Power table extension functions

**URL:** <https://forum.inductiveautomation.com/t/power-table-extension-functions/12106>\
**Category:** Ignition\
**Created:** [September 7, 2016, 5:55pm UTC](https://forum.inductiveautomation.com/t/power-table-extension-functions/12106 "2016-09-07T17:55:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim/32/3361_2.png) [@Tim](https://forum.inductiveautomation.com/u/Tim)\
**Post date:** [September 7, 2016, 5:55pm UTC](https://forum.inductiveautomation.com/t/power-table-extension-functions/12106/1 "2016-09-07T17:55:00Z")

</div>

In the onCellEdited extension function of the power table a cannot set a parameter value on the root container with either `self.parent.Test = 1` or `event.source.parent.Test = 1` In the propertyChange event handler `event.source.parent.Test = 1` works to set the test value to 1. How can this be done within an extension function?

Ignition 7.8.4

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 7, 2016, 6:40pm UTC](https://forum.inductiveautomation.com/t/power-table-extension-functions/12106/2 "2016-09-07T18:40:15Z")

</div>

Setting self.parent. to a value works fine for me in an onCellEdited function. Are you also setting ‘isCellEditable’ to return True? isCellEditable will control whether onCellEdited even fires.

---

<div class="post-metadata">

**Author:** ![Tim](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim/32/3361_2.png) [@Tim](https://forum.inductiveautomation.com/u/Tim)\
**Post date:** [September 7, 2016, 7:42pm UTC](https://forum.inductiveautomation.com/t/power-table-extension-functions/12106/3 "2016-09-07T19:42:20Z")

</div>

Thanks Paul. Its working now the script stopped at line `system.db.refresh(event.source, "data")` with no error. Once this was corrected it worked properly.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 13, 2019, 3:12pm UTC](https://forum.inductiveautomation.com/t/power-table-extension-functions/12106/4 "2019-09-13T15:12:40Z")

</div>

A post was split to a new topic: [Power Table ConfigureCell/ConfigureEditor](https://forum.inductiveautomation.com/t/power-table-configurecell-configureeditor/28251)
