web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How can I get choice c...
Power Pages
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)
  • Suggested answer
    Ajlan Profile Picture
    235 on at
    Hello,

    Instead of Power Apps grid control  use Optionset Wrapper control

     
    Cheers 🎉
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,398 Most Valuable Professional on at
    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.
  • Jady Profile Picture
    147 on at
    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 45

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 14 Most Valuable Professional

#3
DP_Prabh Profile Picture

DP_Prabh 13

Last 30 days Overall leaderboard