# Perspective - color table row based on rowData value

**URL:** <https://forum.inductiveautomation.com/t/perspective-color-table-row-based-on-rowdata-value/84314>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 16, 2024, 10:18am UTC](https://forum.inductiveautomation.com/t/perspective-color-table-row-based-on-rowdata-value/84314 "2024-01-16T10:18:23Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 16, 2024, 11:57am UTC](https://forum.inductiveautomation.com/t/perspective-color-table-row-based-on-rowdata-value/84314/8 "2024-01-16T11:57:22Z")

</div>

Good work.

Combining this problem with our [other thread discussing CSS](https://forum.inductiveautomation.com/t/perspective-numeric-input-field-invalid-style-class-not-applied/84198/16), I should be able to persuade you to create a style class for the highlighted rows and use that in your script rather than hard-coding colors! I might go for something a little more subtle than the strong orange. Be cool, man! Be cool!

Keep style and content separate!

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-color-table-row-based-on-rowdata-value/84314)._
