This content has been marked as final.
Show 3 replies
-
1. Re: How to change the default plus and minus icons in rich:tree
pvito Mar 7, 2012 1:42 AM (in response to pragiya)Try change attributes iconCollapsed and iconExpanded on rich:tree component.
Regards, Vitaliy.
-
2. Re: How to change the default plus and minus icons in rich:tree
pragiya Mar 7, 2012 1:50 AM (in response to pvito)Thanks Vitaliy,
I am already using those attributes to change the collapsed and expanded icons. But what I want is to change the plus(+) and minus(-) marks to my own icons. Is there a way for me to do this.
-
3. Re: How to change the default plus and minus icons in rich:tree
pragiya Mar 7, 2012 2:10 AM (in response to pragiya)Hi,
I found one solution. I don't know whether this is the best way. I did it by overriding the style classes .rf-trn-hnd-exp and .rf-trn-hnd-colps .
*.rf-trn-hnd-colps{
background:url('/example/resources/img/plus.jpg') no-repeat center;
}
*.rf-trn-hnd-exp{
background:url('/example/resources/img/minus.jpg') no-repeat center;
}