# configureEditor on a powertable with multiple conditions

**URL:** <https://forum.inductiveautomation.com/t/configureeditor-on-a-powertable-with-multiple-conditions/77017>\
**Category:** Ignition\
**Tags:** ignition81, vision, scripting\
**Created:** [July 27, 2023, 2:29pm UTC](https://forum.inductiveautomation.com/t/configureeditor-on-a-powertable-with-multiple-conditions/77017 "2023-07-27T14:29:32Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [July 27, 2023, 4:29pm UTC](https://forum.inductiveautomation.com/t/configureeditor-on-a-powertable-with-multiple-conditions/77017/7 "2023-07-27T16:29:31Z")

</div>

`configureEditor` doesn't fire all the time - it basically fires once, on initialization of the table. If you want more dynamic option support, you have to get a little more advanced with it. Let me dredge up some old sample code...

> [@Force configure cell update in power table](https://forum.inductiveautomation.com/t/force-configure-cell-update-in-power-table/16318/7):
>
> The much more efficient solution is to embed a custom editor, which will lookup the datasets dynamically whenever it’s appropriate. I’ve got a very simple example of this below; the project has an editable ‘Options’ dataset, and the available options in column B in the editable table will be dynamic based on the value in column A. The relevant code is here: root = self from javax.swing import JComboBox, DefaultCellEditor, DefaultComboBoxModel class CustomCellEditor(DefaultCellEditor):…

---

_[View the full topic](https://forum.inductiveautomation.com/t/configureeditor-on-a-powertable-with-multiple-conditions/77017)._
