using filter in lists

2 messages - 32 views

ok - the basic setu pis simple: there is a List filled with ListItems from a dataprovider. i applyed a filter on the dataprovider, that filters out some items - depending on the attributes of these items. that works fine so far. if now an attribute of one of the items change, there is no refiltering done. how can i make the filter run again?

hmmm.. stupid me! i've found the solution:

dispatchItemsUpdateEvent( DataProvider.FILTER_MODEL_UPDATE_EVENT_TYPE, tag, this, (LinkedListEnumeration)getUserDefinedValue( tag ) );

simple and effective.

cheers