# Perspective Table Selected Row Color

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-selected-row-color/25108>\
**Category:** Ignition Early Access\
**Created:** [May 17, 2019, 5:03pm UTC](https://forum.inductiveautomation.com/t/perspective-table-selected-row-color/25108 "2019-05-17T17:03:14Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [May 28, 2019, 11:59am UTC](https://forum.inductiveautomation.com/t/perspective-table-selected-row-color/25108/9 "2019-05-28T11:59:32Z")

</div>

> [@chuache\_sanse](#):
>
> I want to display the table as usually (without background color for the rows) but I do want to display the a background blue color for the rows where Active=0.

This is possible, but a bit more challenging. Each row in your dataset can have a style property, so you will need to loop through your dataset and add in a value in the json or dataset to setup the style based on the data in that row.

> [@\[Feedback\] NEW Perspective Table](http://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/41):
>
> I’m trying to implement something along these lines to highlight a row if a value is true in that row, but I’m not sure how to configure this since the data is being pulled from a named query, so it removes any style properties I’ve added when it re-polls.

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-table-selected-row-color/25108)._
