Skip to main content
11-Garnet
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
17-Peridot

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

 

For more:

Translate