This content has been marked as final. Show 4 replies
navTree.setStyle("disclosure(Open or Close)Icon",@embededIcon);
this livedoc talks about the folderIcons but can be applied to the disclosure as well.
Thank you, but that sets the style for the entire tree. I’m trying to change the disclosure icon of the selected node only. Any other ideas?
This will take a custom TreeItemRenderer.
There is an example on cflex.net that is not trivial, but also not too complex. Search for tree itemrenderer.
Thanks, I was able to accomplish this with a custom itemRenderer, but I was hoping that there was a simpler way through styles as it took longer than I would have liked just to change the disclosure icon color. This may be a feature I need to request.
Again, thanks for your responses!