Manish > Works for me in Flex 2 - must be a bug in 1.5. Does it work if you > set an explicit height for the Form? > an explicit height is okay. i tried it in flex 2 alpha and i get the same result.....maybe thats what differentiates the two containers. here's some test code. just swap between vbox and form.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:VBox height="100%"> <!--mx:Form height="100%"--> <mx:DataGrid height="100%" > <mx:columns> <mx:Array> <mx:DataGridColumn columnName="one"/> <mx:DataGridColumn columnName="two" /> <mx:DataGridColumn columnName="three"/> </mx:Array> </mx:columns> <mx:dataProvider> <mx:Array> <mx:Object one="one" two="two" three="three" /> <mx:Object one="one" two="two" three="three" /> <mx:Object one="one" two="two" three="three" /> </mx:Array> </mx:dataProvider> </mx:DataGrid> <!--/mx:Form--> </mx:VBox> </mx:Application> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/