Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3970 Vues

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
Ignorer
Meilleure réponse

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

Hello Mr. Lee,

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

Publications associées Réponses Vues Activité
1
mars 25
1380
0
nov. 24
1566
4
juin 25
47262
0
juin 24
1609
1
juin 24
2127