cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Giovanni1
Helper III
Helper III

In a table, change color of the row, when the status is different

I would like the rows of a table to color automatically, without selecting the single rowtaking the color from an sql tables. This is the function I use to pick the color, in the select fill ColorValue(LookUp('[dbo].[USR_TIPI]';DESCRIZIONE=DataTable6.Selected.TIPOVISITA And NEGOZIO=DataTable3.Selected.CODICENEGOZIO ;HEXCOLOR)) Thank's in advance

4 REPLIES 4
zmorek
Super User
Super User

If I understand correctly, you want each row of the gallery to have a different color, without having to be selected first? Use the TemplateFill() property. 

KvB1
Solution Sage
Solution Sage

I am assuming that @Giovanni1 is using a DataTable control. I couldn't find any property that regulates the fill of rows, but I dont have any experience with DataTables.

 

In a Gallery this will definately be possible.

zmorek
Super User
Super User

@KvB1 Ah, my apologies, I must have missed that/misread

Yes, but not in a gallery, bat in a table

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,519)