var newProd:Product = shop_cart.getElement(i);
Line by line, this is what we have done. The columnNames() method arranges the columns in the order we want them to be in and adds a new column, Total. The function labelFunction generates the calculated field for Total.
The headerText relabels the Headers with full words instead of the variable shorthand versions. The width sets the width of the column. The output now looks like this:
SUPPORT THIS SITE If this tutorial helped you, show your support and send me something from my wish list. Click on an item below and then choose Adam Hayes (Gift Registry Address) for the Ship to Address. It is that easy!