cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cvazquc3
Level: Powered On

Assign color items in combobox or dropdownlist according to letter begin.

Example:

Blue color text    ->    CellPhone XXXXXXX

Red color text   ->    Laptop  5580XXXXXXXX

                                 Laptop  5590XXXXXXXX

Black color text   ->    PC Dell XXXXXXXXX

                                 PC HP XXXXXXXXX

- I used this formula BUT fill all items in PROPERTIES "COLOR" of the Combobox

If("CellPhone" exactin ddEquipmentN.Font,Blue,Red)

- Could you please review attached image.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Assign color items in combobox or dropdownlist according to letter begin.

@cvazquc3 

Unfortunately you cannot change the color of individual items in a ComboBox or DropDown list.  The items will all be one color.

If you want that capability, you might want to drop into the Idea forum and post it there as an idea.

 

You can also get this ability by using a Gallery control.  There you can adjust the TemplateFill for each item in your list.  Obviously this is not a ComboBox or DropDown, but it can be manipulated to perform that function fairly easily. 

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
3 REPLIES 3
Super User
Super User

Re: Assign color items in combobox or dropdownlist according to letter begin.

@cvazquc3 

Unfortunately you cannot change the color of individual items in a ComboBox or DropDown list.  The items will all be one color.

If you want that capability, you might want to drop into the Idea forum and post it there as an idea.

 

You can also get this ability by using a Gallery control.  There you can adjust the TemplateFill for each item in your list.  Obviously this is not a ComboBox or DropDown, but it can be manipulated to perform that function fairly easily. 

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
cvazquc3
Level: Powered On

Re: Assign color items in combobox or dropdownlist according to letter begin.

Thank you for Support me

Now I have other question, could you please support me.

 

You know as remove value in combobox (Components) if I select an equipment in combobox (Equipment) when I select all Startwith CellPhone?

 

I Attached an image, could you please review

 

Super User
Super User

Re: Assign color items in combobox or dropdownlist according to letter begin.

@cvazquc3 

Are you stating that you want your "Components" dropdown to only contain components relevant to the "Equipment" selected?

If so, then you will need to set a filter on the Items of the components dropdown list that filters based on whatever criteria you have that relates components to equipment.

For example, if you had an equipment record such as {ID=5, Equipment="Cellphone SamsungJ6"} and you had records in your components lists such as {ID=1, EquipmentID=5, Component="Screen Protector"} then, for your components dropdown, your items property would be similar to this:

  Filter(componentsList, EquipmentID = equipmentDropDown.Selected.ID)

 

If that is what you are looking to do, then give that a try.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 192 members 4,389 guests
Please welcome our newest community members: