# Data Viewer List/Grid help

**URL:** <https://community.thunkable.com/t/data-viewer-list-grid-help/1002728>\
**Category:** Questions about Thunkable X\
**Created:** [November 27, 2020, 10:29am UTC](https://community.thunkable.com/t/data-viewer-list-grid-help/1002728 "2020-11-27T10:29:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mfaris123.faiz3ctq](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mfaris123.faiz3ctq](https://community.thunkable.com/u/mfaris123.faiz3ctq)\
**Post date:** [November 27, 2020, 10:29am UTC](https://community.thunkable.com/t/data-viewer-list-grid-help/1002728/1 "2020-11-27T10:29:01Z")

</div>

I’m trying to change one element of the template to another color if certain conditions are met.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e4037e34ba4666e0048c54d872ca795a27d2ab34.png)  
The one I circled specifically.

Here’s my code block:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/9/f9809b8869cab5fdb773403c14138b429dc5b407.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/3/53a469449d4c3a2eb7e729aa6b603802a0a5214d.png)  
I made it so that if the first column of my spreadsheet equals to the second column, then it will say Pass and create the text or background into red if its in the past, if its still ongoing, then its green (for the text box element in the template for data viewer list).  
Can’t seem to get the element of the template for the data viewer grid to change color 😕

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/data-viewer-list-grid-help/1002728/2 "2024-11-08T12:21:25Z")

</div>


