# PowerTable onCellEdit get dropdown label

**URL:** <https://forum.inductiveautomation.com/t/powertable-oncelledit-get-dropdown-label/38252>\
**Category:** Ignition\
**Tags:** ignition79, ignition80\
**Created:** [September 1, 2020, 11:40am UTC](https://forum.inductiveautomation.com/t/powertable-oncelledit-get-dropdown-label/38252 "2020-09-01T11:40:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [September 1, 2020, 11:40am UTC](https://forum.inductiveautomation.com/t/powertable-oncelledit-get-dropdown-label/38252/1 "2020-09-01T11:40:25Z")

</div>

I’ve got a dropdown in a power table, and I’d like to grab the label that the user selected rather than the value. How to I grab that? The onCellEdit seems to return the value, but I’d like the label so I only have to keep one copy of the dropdown options somewhere.

Thanks!

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [September 1, 2020, 12:42pm UTC](https://forum.inductiveautomation.com/t/powertable-oncelledit-get-dropdown-label/38252/2 "2020-09-01T12:42:54Z")

</div>

To show the label, you need to use the `configureCell` extension. There you can override the text of the cell.

If your dropdown table is somewhere accessible for both, you can use the same table to get the labels.

I don’t know a shorter way to do this.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [September 1, 2020, 12:56pm UTC](https://forum.inductiveautomation.com/t/powertable-oncelledit-get-dropdown-label/38252/3 "2020-09-01T12:56:08Z")

</div>

I hacked in an extension that I can call on the onCellEdit and configureEditor to grab the tuple list on both. It’s hacky but works. I’d rather just be able to grab the dropdown in the onCellEdit event and do what I need to do there but oh well. This works.
