# Power table - Highlight rows

**URL:** <https://forum.inductiveautomation.com/t/power-table-highlight-rows/21508>\
**Category:** Ignition\
**Created:** [December 19, 2018, 5:26pm UTC](https://forum.inductiveautomation.com/t/power-table-highlight-rows/21508 "2018-12-19T17:26:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colby](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@Colby](https://forum.inductiveautomation.com/u/Colby)\
**Post date:** [December 19, 2018, 5:26pm UTC](https://forum.inductiveautomation.com/t/power-table-highlight-rows/21508/1 "2018-12-19T17:26:24Z")

</div>

I have a power table of audit events, and I want to highlight a whole row based on the user. I know I have to use the configureCell function, I’m just not sure how to go about it

---

<div class="post-metadata">

**Author:** ![martinel3746](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@martinel3746](https://forum.inductiveautomation.com/u/martinel3746)\
**Post date:** [December 19, 2018, 6:35pm UTC](https://forum.inductiveautomation.com/t/power-table-highlight-rows/21508/2 "2018-12-19T18:35:55Z")

</div>

This works with a PowerTable after clicking the TestData checkbox:

> if system.security.getUsername() == 'john.doe' and self.data.getValueAt( rowIndex, 'Boolean Column') == True:  
> return {'background': '#DDDDDD'}
