I do not want leaf.gif image to be displayed. It is wasting some space. Is there a way to get away from this image?
support team - please respond.
If your tree is small and static, I recommend to you to specify in its structure the parameter imwidth = “1px” for all childless nodes.
If your tree is big enough, use method getAllChildless() to get a list of all items you need to delete images and apply a custom transfer gif with 1px width by method setStdImages().
setStdImages() method is defined on tree object. How can I call this method on item level?
Can you please give the code snippet on how to get rid of leaf images?
Use method setItemImage() to each item you need: