What I did to solve this problem was make each table column its own custom module and which looped and allowed user to enter number of rows. In the big table module itself it loops and allows user to pick number of columns which then inserts that number of custom modules of columns.
Good Question. I hate to say it's not possible but.... it's not possible to interpolate names in the HUBL module definitions. It's also not possible to pass anything other than boolean values to unique in loop. Perhaps you could run each loop without nesting them and then use javascript to move the elements into the correct places? I know that's a stretch but there are limited solutions.
Yeah I will probably have to move elements with javascript but even then my options are limited as I want the user to be able to choose the number of rows for each column...So somehow I still need a nested loop
What I did to solve this problem was make each table column its own custom module and which looped and allowed user to enter number of rows. In the big table module itself it loops and allows user to pick number of columns which then inserts that number of custom modules of columns.