Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 4WGQiAZVTLg17kjHYec8u0
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
    66,112 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Experimental Features

#1
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

#2
Julien1 Profile Picture

Julien1 7

#2
ronaldwalcott Profile Picture

ronaldwalcott 7

Overall leaderboard

Featured topics

Loading started