Customizing Tree images

Is it possible to customize the images for the nodes of a tree. I want to use different images for different tree node.


Yes, it is possible.


It can be done


- in the xml by im0, im1 and im2 attributes:


…<item id="…" text="…" im0="…" im1="…" im2="…" …>…


- by the script:


tree.insertNewNext(itemId,newItemId,itemText,itemActionHandler,image1,image2,image3);