How to give different colors for Alternate Row Color in Power Apps Gallery


Problem statement

Generally, we can give only one color code (Template fill) to the rows in a gallery

alternate row color in Power Apps gallery

Resolution

We can give a different color code to the alternate rows in a Gallery.

We can use the Collection instead of directly mapping a Data Source to the Gallery.


Use the following code in the Template Fill of a Gallery.



Leave a Reply

Your email address will not be published. Required fields are marked *