The samples below populate an ArrayGrid with values from an array and then print out the values in the ArrayGrid.