You can't do that successfully.  You must access data through the
dataProvider.  Remember, the renderer component is recycled.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Friday, September 07, 2007 2:07 PM
To: [email protected]
Subject: [flexcoders] Access inline itemrenderer from actionscript?

 

I have an inline itemrenderer in a DataGridColumn thus:

<mx:DataGridColumn
headerText="Column 2"
dataField="col2">
<mx:itemRenderer>
<mx:Component>
<mx:TextInput>

</mx:TextInput>
</mx:Component>
</mx:itemRenderer> 
</mx:DataGridColumn> 

How can I access the properties of the TextInput from ActionScript
please? I tried giving the TextInput an id but Flex scolded me.

 

Reply via email to