Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3945 Weergaven

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
Annuleer
Beste antwoord

 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
Annuleer
Auteur

Hello Mr. Lee,

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

Gerelateerde posts Antwoorden Weergaven Activiteit
1
mrt. 25
1342
0
nov. 24
1526
4
jun. 25
47206
0
jun. 24
1566
1
jun. 24
2076