Should just be VBox with 5 DG's in it. Set rowCount to change its size. Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Middleweek Sent: Wednesday, August 19, 2009 1:20 PM To: [email protected] Subject: [flexcoders] 5 Datagrids ontop of each other, one resizes and the ones below shift up or down? Hi guys, Excuse the subject of this post :-) But it does sum up what I'm trying to achieve. I want to have 5 DataGrids ontop of each other in a vertical arrangement (A bit like the rows in Excel are ontop of each). In the bottom right of each DG, I want a little button that when clicked, expands/ collapses it's DG. When e.g. DG_2 is expanded, I want DG_1 to remain where it is but DG_3, DG_4 and DG_5 to shunt downwards and DG_2 will be expanded down to say ten rows. What is the best way to achieve this? Or should I be looking into DividedBox components? Or does the Tile Component help me? Or do I write it all myself using maths and do the resizing using top and bottom properties of the DG's? Thanks for any help... Nick

