Thank you Rick! I appreciate you attention and help. Yes, there are some workarounds I figured, I think it should consider column width always, not only when creating DataGrid component, similar story happening with resizing.
--- In flexcoders@yahoogroups.com, "Rick Winscot" <[EMAIL PROTECTED]> wrote: > > Yeah. this is an issue partially related to creation and the fact that > column width - well that's another story. Here is a quick fix. add the > listener to each of your grids and copy/paste the function. > > > > grid.addEventListener( Event.RENDER, handleDataGridRenderEvent ); > > > > private function handleDataGridRenderEvent( event:Event ):void > > { > > var dg:DataGrid = DataGrid( event.target ); > > > > dg.columns[0].width = 100; > > dg.columns[0].minWidth = 100; > > dg.columns[1].width = dg.width - 100 - 100; > > > dg.columns[2].width = 100; > > > } > > > > There is an initial blink - as the data grid gets its first render event and > sets the columns. Hmm. its 4:05 a.m. - and I'm thinking that this probably > isn't the best way to do this. Let me get some sleepy and I'll look at this > again. > > > > Rick Winscot > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of lytvynyuk > Sent: Tuesday, April 01, 2008 4:22 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Posted bug in Adobe with description of the problem > > > > May be I do something wrong, but I will give a change to somebody from > Adobe tell me what is going on. > > http://bugs.adobe.com/jira/browse/SDK-15121 >