Skip to main content

Notifications

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
    Pstork1 64,290 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,316

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,290

Leaderboard

Featured topics

Loading started
Loading complete