Array collection has a publicly-accessible source Array property and filterFunction property.
I'm actually building array collections on the fly in a model class getter with a custom binding event. Same source, different filter function. Seems to be working for me. Does that help? On Sun, Jun 1, 2008 at 4:46 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Hey guys, > > I think maybe I've missed the point of something, or there's a class I need > to use that I don't know exists :) > > I have an ArrayCollection we'll call sourceCollection. I need to have a > couple of different views of this data, with which I can use filterFunctions > without affecting each other or the sourceCollection, and I need these views > to be updated when the source changes. Perfectly happy for these views to be > read-only. > > Is there already something that suits my needs? Or do I need to roll my own? > No problem, but it seems like a common task and I don't want to re-implement > something that already exists and works :) > > At first glance I thought the solution would be new > ArrayCollection(sourceCollection.source), but it won't get updates. If it > doesn't exist I'd rather build something reusable than just hack together a > solution by listening to the sourceCollection object. > > -J > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > >

