콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4026 화면

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
1635
0
11월 24
1677
4
6월 25
47435
0
6월 24
1673
1
6월 24
2194