This task will have you extending the current ChartPod.mxml, created in Lesson 10, "Creating Custom Components with ActionScript 3.0," in two ways. The first is to add a DataGrid, in which you can view sales data that is passed in. The second is to add a property to the component to allow the containing MXML file to pass in the data set that the component should use when displaying the data in the DataGrid. This task will focus on the base usage of the DataGrid, which allows for the DataGrid to get the definition of which columns it will use from the data set.
|