# Power table cell edition without pressing 'Enter' Key

**URL:** <https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035>\
**Category:** Ignition Early Access\
**Created:** [February 7, 2020, 9:21am UTC](https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035 "2020-02-07T09:21:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anita.Shinde](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Anita.Shinde](https://forum.inductiveautomation.com/u/Anita.Shinde)\
**Post date:** [February 7, 2020, 9:21am UTC](https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035/1 "2020-02-07T09:21:11Z")

</div>

Hello,  
I am facing a issue regarding power table cell editor.  
The current functionality of cell edition is like , if we add any value to that particular cell and click on ‘Enter key of keyboard’ or ‘Tab’ then only it get assigned to that cell.  
I want that value to be assigned on mouse click. After entering value if user clicks anywhere on power table it should be assigned to that cell without pressing ‘Enter or Tab’ key.  
Please let me know is it possible in ignition?

---

<div class="post-metadata">

**Author:** ![boyergary](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/boyergary/32/10316_2.png) [@boyergary](https://forum.inductiveautomation.com/u/boyergary)\
**Post date:** [February 7, 2020, 3:12pm UTC](https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035/2 "2020-02-07T15:12:46Z")

</div>

Assuming this functionality wasn't removed in Version 8, in the onCellEdited Extension Function on the Power Tables, just uncomment the example line and it will do exactly what you want.

> self.data = system.dataset.setValue(self.data, rowIndex, colIndex, newValue)

---

<div class="post-metadata">

**Author:** ![Anita.Shinde](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Anita.Shinde](https://forum.inductiveautomation.com/u/Anita.Shinde)\
**Post date:** [February 11, 2020, 4:46am UTC](https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035/3 "2020-02-11T04:46:01Z")

</div>

Yes, I have done this change and its working , but problem is that I want value to be assigned on mouse click not on enter key press.  
hope you understand, exactly for what I am asking.

---

<div class="post-metadata">

**Author:** ![boyergary](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/boyergary/32/10316_2.png) [@boyergary](https://forum.inductiveautomation.com/u/boyergary)\
**Post date:** [February 11, 2020, 12:26pm UTC](https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035/4 "2020-02-11T12:26:38Z")

</div>

In Version 7.9, when I have this code and I put in a value in a cell and then click on another cell in the Power Table, the value that I just entered is saved. I guess I’m unclear on the problem.

---

<div class="post-metadata">

**Author:** ![Anita.Shinde](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Anita.Shinde](https://forum.inductiveautomation.com/u/Anita.Shinde)\
**Post date:** [February 11, 2020, 1:05pm UTC](https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035/5 "2020-02-11T13:05:48Z")

</div>

Yes, if we click on another cell it will get saved but i want it to be save when user clicks on blank space of power table in this case it fails.

---

<div class="post-metadata">

**Author:** ![boyergary](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/boyergary/32/10316_2.png) [@boyergary](https://forum.inductiveautomation.com/u/boyergary)\
**Post date:** [February 11, 2020, 1:51pm UTC](https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035/6 "2020-02-11T13:51:30Z")

</div>

Oh, I see. If there’s no event associated with that blank space, I don’t think this is possible without some fancy Jython footwork.

---

<div class="post-metadata">

**Author:** ![Anita.Shinde](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Anita.Shinde](https://forum.inductiveautomation.com/u/Anita.Shinde)\
**Post date:** [February 12, 2020, 5:25am UTC](https://forum.inductiveautomation.com/t/power-table-cell-edition-without-pressing-enter-key/32035/7 "2020-02-12T05:25:33Z")

</div>

Okay Thank you…Means it is not possible to implement this in ignition?
