You’re just trying to update the value in the model right?

 

                                                            <mx:CheckBox width="5%"

                                                                                                 selected="{rOptions.currentItem.selectionState}"

                                                                                                 click="event.target.getRepeaterItem().selectionState = true;"/>

 

Matt

 


From: Chris Phillips [mailto:[EMAIL PROTECTED]
Sent: Friday, January 28, 2005 3:54 PM
To: [email protected]
Subject: Re: [flexcoders] Repeater Trouble STILL NEED HELP

 

Tracy (and any other kind souls),

I really appreciate your help. I found a wayto make it work with a model.

However, what I'm trying to be able to do is update the checkedness of
the checkboxes without having to have the whole display flicker (which
it did when I completely refresh the options array).

So, I'm working on this example. Please lookat the click attribute of
the checkbox.
The position in the dataprovider that it references is legitimate
(I've traced it).
However it will not cause the first item to be checked.

If you or anyone can tell me how to reference those checkboxes after
they are created, I will love you forever ... or buy you a beer,
whichever you prefer.

If it's only one repeater, the trick works.
But with a nested repeater, it doesn't seem to cause the checkboxes
"selected" binding to fire.

I'm including the new code and the attached file.

The project I am working on this for is going to show at a national
trade show tomorrow. I'd really like to fix this before then.

Thank you all in advance.

--
Chris Phillips
www.dealerpeak.com
Senior Application Developer

Reply via email to