I’m using a custom component CheckBoxList DataGrid (http://blogs.adobe.com/aharui/2008/02/checkbox_selection_in_datagrid.html) and as dataProvider I have an ArrayCollection with items such this one:
name="item name" selected="true"
I would like the CheckBox list updated when the selected attribute is set to false or true in the data model.
thanks
By far the easiest way is to
refreshtheArrayCollectionafter having updated some of the objects within it. There is an example of doing so at the end.I don’t believe that you are able to bind to the data within the ArrayCollection. I think that what you would need to do is extend
Object(or perhapsFlashProxy) to make a custom class that, whenever some of its properties have changed, tells the Application to update the given data list in the same way we have done so manually in the example.