# Conditional Row Style

**URL:** <https://forum.inductiveautomation.com/t/conditional-row-style/107909>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 28, 2025, 3:48pm UTC](https://forum.inductiveautomation.com/t/conditional-row-style/107909 "2025-06-28T15:48:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 28, 2025, 4:00pm UTC](https://forum.inductiveautomation.com/t/conditional-row-style/107909/2 "2025-06-28T16:00:53Z")

</div>

> [@Steven\_Ham1](#):
>
> `row_data["style"] = {"classes": "flashingRow"}`

Post a few lines of the data array so we can see what _is_ returned. Maybe add a non-existent class to the `else` code so we'll get something. e.g.,  
`row_data["style"] = {"classes": "nonFlashingRow"}`

* * *

According to [[Feedback] NEW Perspective Table - #30 by ynejati](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/30) you seem to be styling it correctly.

> Rows can now be configured with their own styles.

```python
    { 
        "value": { // The rows value. 
            "city": "Folsom" 
            "country": "United States", 
            "population": 1000000 
        }, 
        "style": { // Custom row styles.
            "backgroundColor": "#F7901D",
            "classes": "some-class"
        }
    } 

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/conditional-row-style/107909)._
