Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3223 Prikazi

Hi,

we want to change the color of a special item in the list view, e.g. when the name contains "test" or name is "test".

<tree colors=blue:name == 'test'">

in the view does not work. How can we realize that?

Thanks!

Avatar
Opusti
Best Answer

Below i am posting the code example  for reference

<tree string="My tree View" colors="red:state in ['cancel','close'];#64B5F6:state=='running';#0D47A1:state=='extend';green:state=='complete';#FF4081:state=='finish'" > 

Hope this  may help you in understanding the tree color pattern .



Avatar
Opusti
Best Answer

Peter,

try like this.

<tree colors="blue:<field_name> == <value>;red: <field_name> == <value>" >

Hope it will help

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
dec. 23
20073
3
apr. 24
2400
0
dec. 19
5618
2
okt. 22
5704
3
avg. 22
7301