What is the problem here?  The DataGrid isn’t as wide as you want?  Set your width and height to 100% and maybe set your margins down to 0 if those extra pixels are causing problems.

 

Matt

 


From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Friday, April 29, 2005 3:33 PM
To: [email protected]
Subject: [flexcoders] Data Grip Width

 

How can I get this data grid to grop to 100% width & height

<mx:HBox xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%"
height="100%">
  <mx:DataGrid id="inventory" width="100%">
    <mx:columns>
      <mx:Array>
        <mx:DataGridColumn headerText="Column 3" columnName="col3" />
        <mx:DataGridColumn headerText="Column 4" columnName="col4" />
        <mx:DataGridColumn headerText="Column 5" columnName="col5" />
        <mx:DataGridColumn headerText="Column 6" columnName="col6" />
        <mx:DataGridColumn headerText="Column 7" columnName="col7" />
        <mx:DataGridColumn headerText="Column 1" columnName="col1" />
        <mx:DataGridColumn headerText="Column 2" columnName="col2" />
      </mx:Array>
    </mx:columns>
  </mx:DataGrid>
</mx:HBox>






Yahoo! Groups Links

Reply via email to