Skip to main content
Community site session details

Community site session details

Session Id : x9sLN0zN6uFOlvL+SuDCMQ
Power Apps - Power Apps Experimental Features
Suggested answer

Change color of combo box item depending on condition

Like (0) ShareShare
ReportReport
Posted on 26 Sep 2024 15:32:35 by 45
I have a combo box with time schedules in my canvas app. Let's call it TimeBox.
 
This time box shows availability of a room according to a sharepoint list called Room_1 where it has 2 columns, DateSchedule and TimeSchedule respectively.
 
I want to disable or change the color of the times already booked for that room. For example:
 
DateSchedule TimeSchedule
9/12/2024 12:00 PM
9/12/2024 2:00 PM
9/13/2024 12:30 PM
 
The desired outcome:
 
  • Suggested answer
    Pstork1 Profile Picture
    67,060 Most Valuable Professional on 26 Sep 2024 at 15:45:10
    Change color of combo box item depending on condition
    I don't think there is a way to do conditional formatting to the entries INSIDE the Combobox control.  However, If you use a collection to populate the Combobox entries you could remove already used entries from the list so they aren't available to choose.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics

Loading complete