# Change table rows color based on a cell values

**URL:** <https://forum.wixstudio.com/t/change-table-rows-color-based-on-a-cell-values/32320>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [December 16, 2019, 9:29am UTC](https://forum.wixstudio.com/t/change-table-rows-color-based-on-a-cell-values/32320 "2019-12-16T09:29:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meirhasin](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@meirhasin](https://forum.wixstudio.com/u/meirhasin)\
**Post date:** [December 16, 2019, 9:29am UTC](https://forum.wixstudio.com/t/change-table-rows-color-based-on-a-cell-values/32320/1 "2019-12-16T09:29:36Z")

</div>

Hello  
Need your help to figure out how can i change rows color in a table, based on a specific cell value.  
I have a table with stocks symbols and the price change since the last day, if the change is negative, i want to change the color of the entire row to red, if the change is positive, i want to change it to green.  
Is it something that i can achieve with WIX table?.

Thank you!.

---

<div class="post-metadata">

**Author:** ![J.D](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/j.d/32/7312_2.png) [@J.D](https://forum.wixstudio.com/u/J.D)\
**Post date:** [December 16, 2019, 9:47am UTC](https://forum.wixstudio.com/t/change-table-rows-color-based-on-a-cell-values/32320/2 "2019-12-16T09:47:42Z")

</div>

I don’t think you can do it with tables but you can use a repeater instead, and design it like a table, then you’ll be able to change the cell color based on its content.

---

<div class="post-metadata">

**Author:** ![meirhasin](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@meirhasin](https://forum.wixstudio.com/u/meirhasin)\
**Post date:** [December 16, 2019, 10:55am UTC](https://forum.wixstudio.com/t/change-table-rows-color-based-on-a-cell-values/32320/3 "2019-12-16T10:55:13Z")

</div>

Thank you, i will learn how to work with repeater.
