Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3911 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

Hello Mr. Lee,

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

Powiązane posty Odpowiedzi Widoki Czynność
1
mar 25
1263
0
lis 24
1465
4
cze 25
47119
0
cze 24
1541
1
cze 24
2029