cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Dropdown widget color dynamically as per selection of value

H_1234
11-Garnet

Dropdown widget color dynamically as per selection of value

Hi,

In one of my application we have to apply color or border color of dropdown widget dynamically as per selection of value. We are able to set the dropdown list color but not be able to fill the complete widget color based on the selected option.

 

Please suggest how to create state defination to set the drop down widget color.

 

Best Regards

Hareef,

1 ACCEPTED SOLUTION

Accepted Solutions
bchaudhary
17-Peridot
(To:H_1234)

Hello @H_1234 ,

 

pls check the following article which contains to change the appearance of the drop down widget:

https://www.ptc.com/en/support/article/cs324593

https://www.ptc.com/en/support/article/cs322901

pls let me know if you have any further queries.

 

Regards

Bhawna

View solution in original post

3 REPLIES 3
bchaudhary
17-Peridot
(To:H_1234)

Hello @H_1234 ,

 

pls check the following article which contains to change the appearance of the drop down widget:

https://www.ptc.com/en/support/article/cs324593

https://www.ptc.com/en/support/article/cs322901

pls let me know if you have any further queries.

 

Regards

Bhawna

Hi Bhawna,

Thank you for your Suggestion

Screenshot (93).png
We want to change Dropdown border colors as per selected value

Eg: if value is High-->Border color  red
      if value is low -->Border color  green

 

Top Tags