Where are you trying to get at them?  A script block inside mx:TextInput
is in the context of the TextInput which is why no id is needed and
'this' is the TextInput.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Friday, September 07, 2007 11:07 AM
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