[flexcoders] Set Datagrid Column Width

2008-07-09 Thread cox.blair
I read that the DataGrid was designed to adjust to the dimensions of
the browser, however my application has fixed dimensions to maintain
some sanity.

How can  I define the widths of individual columns in the datagrid?
For instance, the ID column does not need to be 20px wide.

Thanks,



Re: [flexcoders] Set Datagrid Column Width

2008-07-09 Thread Mike Chabot
If you are seeing a column that is 20px wide in Flex 3, the issue is
the default minWidth attribute of the dataGridColumn. The minWidth
default value is 20. I assume you already know about the width
attribute. This was one issue that came up for me when I switched from
Flex 2 to Flex 3.

Good luck,
Mike Chabot

On Wed, Jul 9, 2008 at 2:31 PM, cox.blair [EMAIL PROTECTED] wrote:
 I read that the DataGrid was designed to adjust to the dimensions of
 the browser, however my application has fixed dimensions to maintain
 some sanity.

 How can I define the widths of individual columns in the datagrid?
 For instance, the ID column does not need to be 20px wide.

 Thanks,