In Lesson 8, "Using Controls and Repeaters with Data Sets," you learned about working with data sets and some controls that could be used to show the data. In this lesson, you will build upon that set of base controls and be introduced to the primary MXML component used to display and manipulate large data sets. In this lesson, you will learn how to use the DataGrid component to display a data set in an interactive way using rows and columns. Aside from using the DataGrid in its simplest form, you will learn how to override the default behavior of a particular column in the DataGrid by implementing a custom item renderer; do a custom sort of the data for a column; and change the editing controls, which manage underlining data. Here, you see the shopping cart displaying in a DataGrid. |