I wrote a custom tree item renderer but it behave really strangely. Just look at the example I prepared and open/close "group 1" node:
example (source is available)
I spent a lot of time finding out how to create a custom tree item renderer with a complex component as a node (not in example because I simplified it) and I really need to make it work somehow. I just hope that flex is not so crappy that I'll have to write my own tree component...
Looks like you're not handling recycling properly. Review the first item
renderer post on my blog. Almost every if needs an else to handle recycling
Flex SDK Team
Adobe System, Inc.
You are sooo right, thank you it was recycling issue - I didn't realize that efficiency stuff. Great post anyway.
Recently I've posted some problem here which was solved but not completly. I see that you have a great knowledge in the flex subject so if you dont't mind I'll be glad if you look at the discussion (there is not much to read). It's not high priority stuff - I'm just curious what is the reason.