Hi,

I'm building an AIR app and I'm having problems with one of my UIs.
I have an advanced datagrid and I'm using an item renderer for one of the
columns.
The renderer is a vbox and inside this I have a tree control to display the
data. 
I was having problems getting the datagrid row to expand when I expand the
trees in the renderer.
I figured I just needed to change the height of the Vbox when ItemOpen is
fired on the tree E.G. itemOpen="openHeight(event)"

In openHeight() I can calculate the number of children of the open branch
and then change the height of the vbox using this.height.

Everything expands ok but the problem is that the tree collapses for some
unknown reason.
I guess that resizing the VBox is collapsing the tree somehow but I dont
know how to stop it!

Any help would be much appreciated.

thanks
-- 
View this message in context: 
http://www.nabble.com/Tree-collapsing-when-I-expand-the-parent-container-tp20601061p20601061.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to