Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3974 Visualizzazioni

I tried to use colors="red" in my o2m treeview xml file, but it don't have any effects.


I want to color the background color of the row, not the  value


How can I achieve this?

Avatar
Abbandona
Risposta migliore

 Hi,

   You can use decoration-info,decoration-muted,decoration-danger attributes.You can check it in the code for examples

<tree decoration-info="state == 'draft'" decoration-muted="state == 'closed'" decoration-danger="state == 'revoked'"/>                 

Avatar
Abbandona
Autore

Hello Mr. Lee,

I used this attr but it colors the value, i want to color the cells of a row

Post correlati Risposte Visualizzazioni Attività
1
mar 25
1397
0
nov 24
1580
4
giu 25
47290
0
giu 24
1616
1
giu 24
2136