# Highlighting a row in a table based off of a columns value in a Power Table

**URL:** <https://forum.inductiveautomation.com/t/highlighting-a-row-in-a-table-based-off-of-a-columns-value-in-a-power-table/90273>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [May 11, 2024, 10:41pm UTC](https://forum.inductiveautomation.com/t/highlighting-a-row-in-a-table-based-off-of-a-columns-value-in-a-power-table/90273 "2024-05-11T22:41:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 11, 2024, 11:18pm UTC](https://forum.inductiveautomation.com/t/highlighting-a-row-in-a-table-based-off-of-a-columns-value-in-a-power-table/90273/2 "2024-05-11T23:18:08Z")

</div>

Vision Power Table's don't have styles like that. That's Perspective.

Implement the `configureCell()` extension functions. That gets called whenever java Swing needs to paint cells, separately for every cell that is visible (at least). The method can look up the row data for the cell in question to return the desired adjustments to the normal painting operation.

Similar recent topic:

> [@Power Table OnMouseClick Cell Color Change](https://forum.inductiveautomation.com/t/power-table-onmouseclick-cell-color-change/90150/6):
>
> You cannot directly change the cell color from the mouse event. You must store your styling information in a custom property (perhaps another dataset with the same dimensions as your table data). The mouse event can only update that custom property. The configure cell method is called automatically by the component whenever java swing needs to "paint" that cell. Have that method look up the desired color in the custom property and return that. Changing a custom property is one of the trigg…

---

_[View the full topic](https://forum.inductiveautomation.com/t/highlighting-a-row-in-a-table-based-off-of-a-columns-value-in-a-power-table/90273)._
