Hi All,
I've got a checkbox in an item renderer. I need to know that at least
one checkbox has been selected in order for the data to be considered
valid and the 'save' function to go through. But I'm not sure how to
iterate through the checkboxes, since in the code there's only one:
<mx:VBox>
<mx:List id="myList" dataProvider="{_dp}" >
<mx:itemRenderer>
<mx:Component>
<mx:HBox horizontalScrollPolicy="off">
<mx:CheckBox selected="false" />
<mx:Label text="Sample" textAlign="right"
width="150" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:List>
</mx:VBox>
Any help appreciated.
-- David