Retool Forum
Change color of rows in table
💬 App Building
css
ScottR
May 30, 2022, 4:23pm
7
Note how I used the ternary operator
Screen Shot 2022-05-30 at 12.22.48 PM
1074×960 75.2 KB
you can use multiple ternary conditions as well
1 Like
Painting column
show post in topic
Related topics
Topic
Replies
Views
Activity
Row colors in new table
💬 App Building
5
4688
September 14, 2023
Conditionally set table row text color with currentRow
💬 App Building
table
6
4225
October 26, 2023
Color table cell according to currentRow
💬 App Building
javascript
,
table
7
2678
August 2, 2023
Change background colour of a cell based on a control field in the same row
💬 App Building
javascript
,
table
,
component
3
2863
August 2, 2023
Coloring a table cell color based on the cell selected and a button click
💬 App Building
3
153
February 24, 2025