Skip to Content
Menu
This question has been flagged
1 Atsakyti
3998 Rodiniai

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?

Portretas
Atmesti
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'"/>                 

Portretas
Atmesti
Autorius

Hello Mr. Lee,

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

Related Posts Replies Rodiniai Veikla
1
kov. 25
1477
0
lapkr. 24
1623
4
birž. 25
47370
0
birž. 24
1639
1
birž. 24
2165