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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Change text color of elements of tree widget based on different conditions defined on service.

SM_10230689
11-Garnet

Change text color of elements of tree widget based on different conditions defined on service.

Hi,

 

I want to change text colors of tree widget elements based on different conditions.

The tree is created based on infotable which is output of a service.

 

Need to add logic on service to change the text colors, Are there any way to achieve this ?

Is it possible to add state definition on service ?

 

Thanks

2 REPLIES 2

Use "TreeFormatter" widget property with statedefinitions to change the font/bg color based on the infotable field value.

 

For more:

Announcements


Top Tags