Found a "deferred" bug. Fixed and submitted: https://bugs.adobe.com/jira/browse/SDK-16885
-Josh On Thu, Oct 30, 2008 at 3:14 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Hmm, my bad... 12 minutes to create the failing mxml file, 4 or 5 minutes > to fix DataGridColumn. If somebody wants to dig up / file a bug, I'll submit > a patch. > > -Josh > > > On Thu, Oct 30, 2008 at 2:46 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > >> Hey, I need to build a failing mxml first. >> >> >> On Thu, Oct 30, 2008 at 2:34 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >> >>> I started my stopwatch. Go for it. >>> >>> >>> >>> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On >>> Behalf Of *Josh McDonald >>> *Sent:* Wednesday, October 29, 2008 8:07 PM >>> *To:* [email protected] >>> *Subject:* Re: [flexcoders] Re: Binding textinput width to datagrid >>> column width? >>> >>> >>> >>> It sounds like a 20-minute fix to DG. >>> >>> On Thu, Oct 30, 2008 at 1:02 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >>> >>> I think that's a known bug. I would addEventListeners to the DG for >>> updateComplete and columnResize and update the TI widths then. >>> >>> >>> >>> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On >>> Behalf Of *Amy >>> *Sent:* Wednesday, October 29, 2008 5:43 PM >>> *To:* [email protected] >>> *Subject:* [flexcoders] Re: Binding textinput width to datagrid column >>> width? >>> >>> >>> >>> --- In [email protected] <flexcoders%40yahoogroups.com>, >>> "biosmonkey" <[EMAIL PROTECTED]> >>> wrote: >>> > >>> > I must be doing something dumb, but I can't understand why this >>> isn't >>> > working. >>> > >>> > I have a datagrid with say, 2 columns. Under the datagrid, I have >>> two >>> > text input controls next to each other in an hbox. >>> > >>> > I want the text input controls to match the width of the datagrid >>> > columns directly above them. This means when the datagrid is drawn >>> and >>> > the column widths determined, the textinput controls should resize >>> > themselves to match. This also should occur if the user resizes the >>> > columns manually. >>> > >>> > So, I assigned IDs to the datagridcolumn objects, and tried to bind >>> > the width of the text input controls to them. >>> > >>> > So first I tried >>> > <mx:TextInput width="{colName.width}"....> >>> >>> Try something like <mx:TextInput width="100%"/> >>> >>> >>> >>> >>> -- >>> "Therefore, send not to know For whom the bell tolls. It tolls for thee." >>> >>> Like the cut of my jib? Check out my Flex blog! >>> >>> :: Josh 'G-Funk' McDonald >>> :: 0437 221 380 :: [EMAIL PROTECTED] >>> :: http://flex.joshmcdonald.info/ >>> >>> >>> >> >> >> >> -- >> "Therefore, send not to know For whom the bell tolls. It tolls for thee." >> >> Like the cut of my jib? Check out my Flex blog! >> >> :: Josh 'G-Funk' McDonald >> :: 0437 221 380 :: [EMAIL PROTECTED] >> :: http://flex.joshmcdonald.info/ >> > > > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > Like the cut of my jib? Check out my Flex blog! > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > :: http://flex.joshmcdonald.info/ > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] :: http://flex.joshmcdonald.info/

