Hi All,

I have a repeater with checkboxes.

I want the checkboxes to be checked/unchecked based on
the data I receive from a RemoteObject. What I receive
from the remote object is a string with list of State
ID's like '100,400'. Now based on this list I want
check/uncheck the corresponding check boxes
programmatically.

Here's a sample code/model. Can someone explain me how
this could be done?

<mx:Model id="mdl_state">
  <node>
    <node ID="100" LABEL="CA">
    <node ID="200" LABEL="NY">
    <node ID="300" LABEL="NJ">
    <node ID="400" LABEL="KY">
    .
    .
    .
  </node>
</mx:Model>
                                                <mx:Repeater  id="rep_state"
dataProvider="{mdl_state}">
                                                        <mx:CheckBox
label="{rep_state.currentItem.LABEL}" 
click="fnSiteSelected(event.target);" />
                                                        </mx:Repeater>
                                
Thanks,
Mohanraj

                


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to