Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3215 Vizualizări

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!

Imagine profil
Abandonează
Cel mai bun răspuns

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 .



Imagine profil
Abandonează
Cel mai bun răspuns

Peter,

try like this.

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

Hope it will help

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
dec. 23
20047
3
apr. 24
2400
0
dec. 19
5600
2
oct. 22
5692
3
aug. 22
7268