web
You’re offline. This is a read only version of the page.
close
Skip to main content
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:
I have the same question (0)
  • Jady Profile Picture
    135 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,347 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
    206 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Pages

#1
Jon Unzueta Profile Picture

Jon Unzueta 89 Super User 2025 Season 2

#2
Shafiuddin Profile Picture

Shafiuddin 45

#3
Fubar Profile Picture

Fubar 40 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics