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/

