Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Design & Build
Suggested answer

How can I get choice colors in Power Apps grid control?

(1) ShareShare
ReportReport
Posted on by 2
I'm using Power Apps grid control to get an editable view in Power Pages. I have Enable OptionSet colors set to "yes". The table has a choice column with colors assigned to the choice options. But the choice colors are not showing up when I preview the page with this list. Is there something I might be missing to get the colors to show up in the list in Power Pages?
 
configuring control:
 
 
Setting up choices:
 
 
Grid view does not display any colors at all when previewing on page:
 
Categories:
  • Jady Profile Picture
    125 on at
    How can I get choice colors in Power Apps grid control?
    You have configured the labels but have you set up the actual background colors for each? 
     
    It can be done with custom CSS but it is fiddly to get right, matching all those different values... 

    Also can do with jQuery but slower and only displays after the page loads
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    How can I get choice colors in Power Apps grid control?
    You would need to apply JS to the grid within the portal.
     
    The Power Apps Grid Control is loaded as a PCF, which means it loads after the page is loaded, and you need to apply Mutation Observer logic instead of traditional .on("load").
     
    In general I avoid using that type of control, unless I am 100% that the control will suffice my needs without any customizations.
  • Suggested answer
    Ajlan Profile Picture
    193 on at
    How can I get choice colors in Power Apps grid control?
    Hello,

    Instead of Power Apps grid control  use Optionset Wrapper control

     
    Cheers 🎉

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35

Featured topics