Custom Images in Connector

I am using the TreeGridGroup Connector and would like to know if I can set the custom images for different leafs. I can do this if I construnct the XML myself but like the functionality of the connector. Is this possible? If so do you have an example?

Found this via a connector behavior. Set_Image

Yep, you can use custom behaviors in java version ( or server side events in php version ) to customize the behavior. beforeRender - allows to affect the generated data, including the custom images for the tree.