My VBox looks like this <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" minHeight="300" borderStyle="solid" borderThickness="1" borderColor="#FF00FF" xmlns:contacts="my.package.contacts.*" xmlns:code="http:// code.google.com/p/flexlib/"> <contacts:MyContacts id="myContacts" width="100%" height="100%"/> <contacts:YourContacts id="yourContacts" width="100%" height="100%"/> </mx:VBox>
The components YourContacts has a VBox which has a Datagrid + buttons in it. Now when I add rows to Datagrid I want the top most container (outer VBox) to expand automatically. YourContacts is getting expanded when I add rows to datagrid but the outer one is not expanding and the datagrid is showing up truncated. Any ideas what is the best way to achieve this ? Thanks and Regards -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

