| 1. |
What Is The Use Of Arraycollection Filter Function? |
|
Answer» filterFunction: Function [read-write] : A function that the view will use to eliminate items that do not match the function criteria. A filter function is expected to function (ITEM: Object): Boolean When the return value is true if the specified item should REMAIN in the view. If a filter is unsupported, flex THROWS as ERROR when accessing this property. We MUST call refresh () method after setting the filter function property for the view to update. filterFunction: Function [read-write] : A function that the view will use to eliminate items that do not match the function criteria. A filter function is expected to function (item: Object): Boolean When the return value is true if the specified item should remain in the view. If a filter is unsupported, flex throws as error when accessing this property. We must call refresh () method after setting the filter function property for the view to update. |
|