Skip to main content
11-Garnet
Sep 21, 2022 5:46 PM UTC
Question

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

1-Visitor
Sep 21, 2022 11:10 PM UTC
17-Peridot
Sep 22, 2022 5:57 AM UTC

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

 

For more:

Translate