# Background color in data list viewer Classic UI

**URL:** <https://community.thunkable.com/t/background-color-in-data-list-viewer-classic-ui/2273602>\
**Category:** Questions about Thunkable X\
**Created:** [February 12, 2023, 7:02pm UTC](https://community.thunkable.com/t/background-color-in-data-list-viewer-classic-ui/2273602 "2023-02-12T19:02:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 12, 2023, 7:40pm UTC](https://community.thunkable.com/t/background-color-in-data-list-viewer-classic-ui/2273602/2 "2023-02-12T19:40:16Z")

</div>

You created a loop from 1 to [list of values]. The [list of values] block returns a list (1, 2, 3, 4, 5) but the [count with] block needs an integer. Please try using the [number of rows] Data Source block instead. Or – just for testing purposes – hard code it by typing in 5 and see if it works that way first.

I also think that the row id may need to be an actual row id and not a number. We can use numbers with Data Source blocks but I’m pretty sure with DVL blocks it needs to be an actual row id.

See this:

> [@Painting the DVL with Layouts (beta)](https://community.thunkable.com/t/painting-the-dvl-with-layouts-beta/2182484):
>
> Anyone have any tips for “painting the DVL” in DnD using Layouts? For reference, see this: [Conditional Formatting of a Data Viewer List (aka "Painting the DVL")](https://community.thunkable.com/t/conditional-formatting-of-a-data-viewer-list-aka-painting-the-dvl/2078697). I created a Layout in a DnD project and saved the outer container as a custom data viewer layout. I then selected it in the same project as the DVL layout on a different screen. I’m finding that any attempts I make to change the background color for a container using that method fail. As you can see in the screenshot below, I’ve tried…

---

_[View the full topic](https://community.thunkable.com/t/background-color-in-data-list-viewer-classic-ui/2273602)._
