I don't want this to be done from a button click but when the screen loads.
So lets say...
<p>List of products below:</p>
<table> <--- how do I tell this table to be populated from my populateTable function
Stick this into your html pane, the body will run your function on load and get the desired result.