Flex Tip of the Day: filterFunction for real time filtering of data
Continuing my series of tips for Flex beginners ….
filterFunction for real time filtering of data
A filterFunction allows you to create a filtered view of an ArrayCollection or XMLListCollection based on some criteria. This is useful in showing only relevant part of the data to the user ….. AutoComplete functionality or Google Suggest like functionality can be implemented using filterFunctions.
Below is an example of filterFunction in action:
- View Source: I’ve put comments in the source of this example to explain the use of the filterFunction property of collections. Let me know if you have any questions.
- View Application in new Window
Drag the slider to see the real time filtering:



12 Comments
Jump to comment form | comments rss | trackback uri | bookmark on del.icio.us