Assuming folderViewData is a collection ...

private function myFilter(item:Object) : Boolean {
  return some_boolean_comparison_on_item;
}


folderViewData.filterFunction  = myFilter;

Note, you must refresh the collection after a change happens (for instance
on change of a textinput used for a search).

>
>
> On 10/5/07, Robert Csiki <[EMAIL PROTECTED]> wrote:
> >
> >    Hello,
> >
> > I have a List using a custom component as item renderer. I want some
> > items not to be displayed, based on a criteria that's contained by the cell
> > item itself.
> >
> > <mx:List dataProvider="{folderViewData}" itemRenderer="
> > views.FolderCellRenderer" />
> >
> > Playing with the "visible" attribute of the custom cell renderer root
> > component did not do the trick. how can make this happen?
> >
> > Thanks, Robert
> >
> >
>
>
>

Reply via email to