Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3986 Переглядів

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?

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

Hello Mr. Lee,

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

Related Posts Відповіді Переглядів Дія
1
бер. 25
1448
0
лист. 24
1611
4
черв. 25
47344
0
черв. 24
1636
1
черв. 24
2153