I remember the dg.selectedItem.comlumnname now, but I can't remember
wher it needs to go.
When I put it on the line with the text input field as
text="{dg.selectedItem.company}" I get an error, so I don't think that
is right. I think it goes in a <mx:Script> block but I am not sure of
the syntax for it.

The column name in the data grid is Company and I want to display that
value in a text input field that is also on the same form...

Still very new to Flex and trying to understand all of the syntax that
goes with it!!!

Thanks,

Roger


--- In [email protected], "James T. Riffe" <[EMAIL PROTECTED]> wrote:
>
> You will need to bind it to the dg.selectedItem.<columnname>
> 
>  
> 
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Roger Ross
> Sent: Friday, January 19, 2007 10:07 PM
> To: [email protected]
> Subject: [flexcoders] binding a data grid column to a text input control
> 
>  
> 
> Hello,
> 
> Flex Newbie!
> 
> I found an example of data binding from text input to a label, but I
> need to bind the data from a column in a data grid to a text input
> control!
> 
> Any examples?
> 
> Thank you,
> 
> Roger
>


Reply via email to