Skip to Content
Menú
This question has been flagged
1 Respondre
3875 Vistes

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
Descartar
Best Answer

 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
Descartar
Autor

Hello Mr. Lee,

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

Related Posts Respostes Vistes Activitat
1
de març 25
1210
0
de nov. 24
1435
4
de juny 25
47033
0
de juny 24
1501
1
de juny 24
1987