Hi Jay,
If i understand your use case correctly, you can achieve this using three non-persistent entities with a one-to-many associations between them.
One to represent the entire table, one to represent the rows and one for the columns.
You can then use two nested Gallery-widgets and style them to align in the way you need.
I hope this helps.