# Datagrid, Dynamically change color of text

**URL:** <https://community.weweb.io/t/datagrid-dynamically-change-color-of-text/18371>\
**Category:** How do I?\
**Created:** [May 22, 2025, 11:22am UTC](https://community.weweb.io/t/datagrid-dynamically-change-color-of-text/18371 "2025-05-22T11:22:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![niklasbauer](https://avatars.discourse-cdn.com/v4/letter/n/df705f/32.png) [@niklasbauer](https://community.weweb.io/u/niklasbauer)\
**Post date:** [May 22, 2025, 11:22am UTC](https://community.weweb.io/t/datagrid-dynamically-change-color-of-text/18371/1 "2025-05-22T11:22:43Z")

</div>

Hello, in the new Datagrid i want to add dynamically change the colour or even add a icon. When the Value in the column “Verfügbarkeit” is bigger 0 make it green, otherwise red.

I already did it in a normal table. But how to do it in the new datagrid?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a70d8f1d269379dd34409b4e655bba15642075b0.png)

---

<div class="post-metadata">

**Author:** ![Agustin\_Carozo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agustin_carozo/32/13231_2.png) [@Agustin\_Carozo](https://community.weweb.io/u/Agustin_Carozo)\
**Post date:** [May 22, 2025, 12:27pm UTC](https://community.weweb.io/t/datagrid-dynamically-change-color-of-text/18371/2 "2025-05-22T12:27:08Z")

</div>

Hi Niklas, I think It’s not possible at the moment, but let me ask the team.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [May 22, 2025, 2:42pm UTC](https://community.weweb.io/t/datagrid-dynamically-change-color-of-text/18371/3 "2025-05-22T14:42:37Z")

</div>

Hi, you can actually do this by using the `Custom` column option and building this yourself - as Augustin said, it is _not possible at the moment_ out of the box - but WeWeb is super flexible, so with some effort you can do this. This will allow you to use all of the goodies WeWeb has to offer, like conditions (based on the row’s data) and conditional rendering.

---

<div class="post-metadata">

**Author:** ![Ruud](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@Ruud](https://community.weweb.io/u/Ruud)\
**Post date:** [May 22, 2025, 3:04pm UTC](https://community.weweb.io/t/datagrid-dynamically-change-color-of-text/18371/4 "2025-05-22T15:04:31Z")

</div>

Can you explain that better how to add that option? I used it in the older datagrid, and it worked very good there.  
When will it be available ‘out-of-the-box’?
