Not sure, but I think you can't do it according to cells content - due to performance issues and the fact that the Flex engine does not render all cells, only the viewable ones. Say you have 1000 rows in the data provider, but only 5 are viewable - flex only renders about 5 or so, not 1000 - so it has no way of knowing the widest value...
You might be able to do it with the header value length, since those don't change. I think I saw a post here in the past about this, try doing a search... HTH Sefi On Wed, Dec 10, 2008 at 1:59 PM, lorenzo.boaro <[EMAIL PROTECTED]>wrote: > Hi all, > > I would have procedure that auto size columns width at the datagrid > craetion based on cells or headers content. > > i appreciate any help > > regards > lorenzo > > >

