O'Reilly logo

Flash® Builder™ 4 and Flex® 4 Bible by David Gassner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Using Advanced List Controls

IN THIS CHAPTER

  • Using the Spark DropDownList and ButtonBar components

  • Using ComboBox controls

  • Creating a bindable DropDownList component

  • Using the DataGrid control

  • Selecting and customizing DataGrid columns

  • Presenting custom labels in a DataGrid column

  • Using custom item editors in a DataGrid column

  • Using the TileList and HorizontalList controls

  • Using the AdvancedDataGrid control

All list controls are not created equal. The two simplest list controls — the Spark and MX List controls — display a single column of values and support the common functionality of custom labels, item renderers, and so on. But other, more advanced list controls, such as the ComboBox and DropDownList, are really compound controls that add features such as enabling users to enter their own arbitrary values.

More complex list controls — such as the Spark ButtonBar and the MX DataGrid, Tree, TileList, and HorizontalList — have their own unique capabilities. And as I described briefly in Chapter 19, the Adobe AIRbased list controls have the capability to populate data from the local file system.

In Chapter 19, I described functionality that's common to all list controls, from the most fundamental to the most advanced. In this chapter, I describe the unique capabilities of specific data-driven controls, starting with the DropDownList and ComboBox and working up to the TileList, HorizontalList, and DataGrid.

Note

To use the sample code for this chapter, import the chapter20.fxp project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required