I have a hierarchical data for my tree view.
I am trying to add an image to all the nodes of the tree including the parent. The image is rendered or shown more than one time for the child nodes.
Also there is inconsistency in display of the image as I expand and collapse the tree nodes.
When I do expand and collapse the image is displayed multiple times even for the parent node. Below are the images of my tree view
Sorry I could not post the images. I am just adding an image to every node of a tree.
It would be great if someone can suggest me with a solution.
Thanks and Regards,
You will probably need a custom tree item renderer. See the documentation
on custom itemrenderers and look at the source code for the existing
TreeItemRenderer as a starting point.