# POWER TABLE background color of row

**URL:** <https://forum.inductiveautomation.com/t/power-table-background-color-of-row/21178>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [December 1, 2018, 10:40am UTC](https://forum.inductiveautomation.com/t/power-table-background-color-of-row/21178 "2018-12-01T10:40:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [December 1, 2018, 12:58pm UTC](https://forum.inductiveautomation.com/t/power-table-background-color-of-row/21178/2 "2018-12-01T12:58:26Z")

</div>

> [@Named Query, Power table, Row color based off column value](http://forum.inductiveautomation.com/t/named-query-power-table-row-color-based-off-column-value/20779/2):
>
> To do that you would use the component scripting for the power table. The extension function configureCell. You would want to check for the value using something like: val = self.data.getValueAt(rowIndex,"column title") if val \>= 0 and val \<=90: return{'background': 'red'} if val \>= 91 and val \<=120 : return{'background': 'yellow'}

---

_[View the full topic](https://forum.inductiveautomation.com/t/power-table-background-color-of-row/21178)._
