Table Records with dynamic columns

Table Records with dynamic columns

  
I need to have table records where the columns are dynamic and I have no more ideas on how to do it.
 
Just as an example, imagine you have some products, and you can have n dates for delivery. What I need is to have a product by line with all the dates requested for delivery by column, and an input field by product/date for quantities (see attached image)
 
Does anyone have done something similar to this that can help me?
Sounds like you need to functionality of a pivot table. The challenge is that pivot tables can have an unpredicatable number of columns, something that Outsystems, using standard widgets, would have difficulty with. If you can predict a maximum number of dates then you can probably get it working. See this post for one solution - http://www.outsystems.com/forums/discussion/6670/how-to-create-a-pivot-table-crosstab