Re: [flexcoders] Re: Multiple dynamic filterFunction help

2007-01-04 Thread Roman Protsiuk
If you have filter function like: private function filterBySelectedIds(item : Object) : Boolean { if (selectedIds.contains(item.id)) { return true; } else { return false; } } And yourArrayCollectionToFilter.filterFunction = filterBySelectedIds; When user selects some IDs fo

[flexcoders] Re: Multiple dynamic filterFunction help

2007-01-04 Thread michrx7
What I really need is to filter based on unknown criteria so if my arraycollection contains two columns: ID, Name and there are 10 IDs (1- 10) and 10 names (pick some) the user might want to filter down to IDs 1,3,7 and then the next time IDs 2,3,8,9. Since the number of IDs is variable there is

[flexcoders] Re: Multiple dynamic filterFunction help

2007-01-04 Thread michrx7
Is there any site showing how to setup filters with some good examples? --- In flexcoders@yahoogroups.com, "Roman Protsiuk" <[EMAIL PROTECTED]> wrote: > > And if you really need several "steps" of filtration you can always design > your own filters/wrappers with filters for Array or ArrayCollec