跳至內容
選單
此問題已被標幟
1 回覆
3967 瀏覽次數

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

相關帖文 回覆 瀏覽次數 活動
1
3月 25
1377
0
11月 24
1565
4
6月 25
47260
0
6月 24
1607
1
6月 24
2119