saltzmanjoelh
06-20-2009, 11:52 PM
I am trying to perform a function when a tree is done redrawing. Is there an event that gets dispatched when this happens?
The tree's dataProvider is an ArrayCollection of Objects. Each Object has a children property that is an ArrayCollection. I want to add a new Object to the children collection then set the Tree.selectedItem to the new item. If I do it too soon the item doesnt have an itemRenderer drawn. Is there an event that is dispatched after the tree redraws everything? Maybe after the invalidateDisplayList() function?
The tree's dataProvider is an ArrayCollection of Objects. Each Object has a children property that is an ArrayCollection. I want to add a new Object to the children collection then set the Tree.selectedItem to the new item. If I do it too soon the item doesnt have an itemRenderer drawn. Is there an event that is dispatched after the tree redraws everything? Maybe after the invalidateDisplayList() function?