how to change the icon of leaf node in dojo tree?

Posted by Aru on Stack Overflow See other posts from Stack Overflow or by Aru
Published on 2010-05-14T06:16:38Z Indexed on 2010/05/14 6:24 UTC
Read the original article Hit count: 375

Filed under:
|

Hi, I have created a tree containing information about server and its VMs. I want to change the icon of VM to green if the VM is power on or to red if the VM is poweroff. How to achieve this?

© Stack Overflow or respective owner

Related posts about dojo

Related posts about tree