Way early in this thread I mentioned that, depending on your creationPolicy, objects on yet-to-be-viewed tabs may not exist or have invalid sizes.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of aceoohay Sent: Wednesday, May 21, 2008 8:18 PM To: [email protected] Subject: [flexcoders] Re: invalid column widths in DG before render. Erik: It does not seem to be a timing issue per se, in other words if I wait 5 minutes after the dataprovider has been set, it makes no difference. The only thing that seems to make a difference is actually viewing the grid by clicking on the tab that the grid is on. Paul --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , EECOLOR <[EMAIL PROTECTED]> wrote: > > I am sorry, I don't know what I was thinking. DataGrid does indeed not have > a creation policy. > > I am not sure which event will help you here. When I have some more time, I > will see if I can find out. > > There is some time between setting the dataprovider and the columns having > the correct width. You could try the change event, but I am not sure if that > is of any help. > > > Greetz Erik > > > On 5/18/08, aceoohay <[EMAIL PROTECTED]> wrote: > > > > Erik: > > > > I tried to set creationPolicy="all" on a DataGrid but creationPolicy > > is not a valid attribute for DataGrid. I have creationPolicy="all" > > set on the parent container, but it does not help on the DataGrid. > > > > I am using Flex 2.01, if that matters. > > > > Paul > > >

