Display Data Grid with user selection

Hello All,

I’m in search of some help displaying a data grid with the content the user selected when the “CheckOut” Button is submitted. Thus far I have two products on the main the user can choose from and based on their selection I would like the product, quantity, and price they chose to be displayed. I have the data grid be called through a .as file. Nothing is happening right now the way I have it set up so I am at a lost. Any help is greatly appreciated. Thanks in advance!:angel:


public function CheckOut() {
  // Create a a new instance of DataGrid and name it "data_grid"
  var datagrid_AS:DataGrid = new DataGrid();
  var col3 = datagrid_AS.addColumn("Product Name");
  var col3 = datagrid_AS.addColumn("Quantity");
  var col3 = datagrid_AS.addColumn("Total");
  col3.minWidth = 350;
 }

I’m trying to upload the .zip file but it’s giving me an error. So I will explain what’s on the main .fla. I have 2 products with numeric steppers that the user can select their quantity plus an add me button. I have a dynamic text field that keeps the total based on what products has been selected so now when the user selects the check out button I want to display in a data grid what they have chosen before submitting to pay pal! Thanks again