Skip to main content
11-Garnet
September 21, 2022
Question

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

  • September 21, 2022
  • 2 replies
  • 956 views

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

1-Visitor
September 21, 2022
17-Peridot
September 22, 2022

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

 

For more: