# Highlight Power table row based on a drop down value

**URL:** <https://forum.inductiveautomation.com/t/highlight-power-table-row-based-on-a-drop-down-value/83566>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [December 28, 2023, 10:01am UTC](https://forum.inductiveautomation.com/t/highlight-power-table-row-based-on-a-drop-down-value/83566 "2023-12-28T10:01:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [December 28, 2023, 11:40am UTC](https://forum.inductiveautomation.com/t/highlight-power-table-row-based-on-a-drop-down-value/83566/2 "2023-12-28T11:40:44Z")

</div>

The problem you're running into is the fact that the power table doesn't automatically paint unless an internal event within the table triggers it. You will need to do something like this from the dropdown's property change event handler:

```auto
if event.propertyName == 'selectedIndex':
     powerTable = # get the power table component

     # trigger a repaint
     powerTable.table.model.fireTableDataChanged()

```

See [this post](https://forum.inductiveautomation.com/t/animated-blinking-row-background-in-power-table/70348/3) for a more information related to this topic.

---

_[View the full topic](https://forum.inductiveautomation.com/t/highlight-power-table-row-based-on-a-drop-down-value/83566)._
