Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3955 Представления

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
1358
0
нояб. 24
1540
4
июн. 25
47233
0
июн. 24
1585
1
июн. 24
2098