Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.22 KB

File metadata and controls

26 lines (14 loc) · 1.22 KB

iTunes like Flex search TextInput

A sample application with a custom Flex component based on the spark.components.TextInput to filter data in a mx.collections.ArrayCollection. The functional and graphical design is modeled closely to the search field found in iTunes.

Motivation

  • A slick component to filter data shown in a DataGrid.

  • Get some more experience with skinning in Flex 4.

Requirements

Usage (API)

The class ch.smartcode.iTunesLikeSearchTextInput.inputs.iTunesLikeSearchTextInput is the actual component.

Set the dataProvider property to the mx.collections.ArrayCollection to filter.

The searchOptionsData property takes an mx.collections.ArrayCollection of ch.smartcode.iTunesLikeSearchTextInput.vo.SearchOptionVO instances. Each of these value objects represent a field to filter for in the dataProvider. If the field value of the SearchOptionVO is set to null, all data is filtered.

More