You’ve got a couple options…
Using a Table , you will need to build an array of Table data and then set the .rows property .
If you choose a Repeater , you will need to build an array of Repeater data and set the Repeater’s .data property .
Either way should work for you, however the Repeater offers much greater flexibility and many more options.