You don't need a result handler for this.  Just do:

<mx:CheckBox ... selected="{r1.currentItem.selected}"

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Manu Dhanda
Sent: Tuesday, October 23, 2007 4:07 AM
To: [email protected]
Subject: Re[flexcoders] peater

 


Hii Guyz,

I have a Repeater(r1) and a checkbox(ch1) inside it.

I am passing a dataprovider dynamically to the repeater and based on the
values, I want to select a few checkboxes.

In the repeat event, e.currentTarget is referring to r1. 
Now how can I refer the checkbox(ch1) inside it??

So, that I could do something: 
e.currentTarget.currentItem.selected = true;

Please guide me.
Thanks.
-- 
View this message in context:
http://www.nabble.com/Repeater-tf4675803.html#a13359221
<http://www.nabble.com/Repeater-tf4675803.html#a13359221> 
Sent from the FlexCoders mailing list archive at Nabble.com.

 

Reply via email to