Data viewer list text color cant change it


what is wrong with the code dear community

Short answer: “missing row id”
That block can be used right after you create a row to a table bound to a DVL, when you get as argument row id also, used there.
Just an example:


Of course, you can also use it later, after creating table, but only if you keep saved that row id into a variable, to refer to it when needed.

i have 20 row , i m trying to change viewer list text color

Data Viewer List will always be bound to a Data Source. The block you shared in your first post will change one single row and after you supply the row id to it.

If you want to change the color of all rows then you have 2 options:

  • Create your own Custom Data Viewer List Layout and in the design of your layout you can choose any color.

  • Use the list of values... block to get the row id of all rows and use the loop block for each item in list... to change the color.

image

thanks a lot will try that.

didnt work @muneer

I’m sure it works.

Can you show your blocks?


blocks

and the column @muneer

last argument in purple block must be row’s ID … thats the key on @muneer `s example
So, list o values in “desired column”, in table that contains that column,… and last … ID

yes you re right it works now , but it changes background color , isnt there is a way to change text color

Edit: i handeled that aswell , changing layout wrapper

thanks guys @mimostel @muneer

Now you may mark as solution @muneer `s post

i did sir,
edit oh wrong post xD

Hello, I am trying to change the text color of my data viewer list and can’t find the list of values block. I’m using Google Sheets data source if that matters. The documentation isn’t really helpful. Where is this located? I can’t seem to find it under the Core > Lists or anywhere else. Any assistance would be appreciated.

Welcome to Thunkable.

You will find it under the Data Sources drawer. See the above image.

Thank you very much