I can't get my checkbox to update my objects when it's ticked/unticked using databind. Here's my code:
 
 
<mx:Repeater id="bestFitList">
  <mx:CheckBox label="{bestFitList.currentItem.name}" selected="{bestFitList.currentItem.visible}" />
</mx:Repeater>
 
The dataprovider is set programatically to an array of ChartElements. When it loads, the checkboxes are correctly checked (because my ChartElements are visible). However, unticking the checkbox does not set the visible property of my ChartElement to false.
 
I'm trying to have a list of the best fit lines on my chart, which can be toggled by the user with a list of tickboxes.
 
Any ideas?
 
Thanks

The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to