PDA

View Full Version : How can I add an icon to a tree node which has an onclick



robertdbuckley
27 Mar 2012, 1:38 AM
I would like to add an icon to the right of a tree node which opens an ext.window when I click on it.

Has anyone seen an example of something similar or could guide me in the right direction?

yours,

Rob

mitchellsimoens
27 Mar 2012, 8:43 AM
The elements aren't easily changed but you can enter an <img> tag into the text of the node and it should display the image. You would just have to capture the click of that <img> tag using mon and delegate.