7 Replies Latest reply on Jul 18, 2008 6:24 AM by ericbelair

    Updating ArrayCollections...

    ericbelair Level 1
      OK. I have ComboBox component being used as a filter that has a local ArrayCollection as its dataProvider. This local ArrayCollection is built by first adding a new Object with a generic name (i.e. "Select All"), then adding additional valueObjects from another ("master") ArrayCollection, stored in the Model of my Cairngorm Application. Items in the "master" ArrayCollection can be deleted and new items can be added. I want these deletes and inserts to be reflected in the local ArrayCollection in my ComboBox. I would use the "master" ArrayCollection, but I need a "Select All" option in the ComboBox.

      Are there any suggestions for how to update the ArrayCollection, or use the "master" ArrayCollection with my "Select All" option?