In the example shown there are two rows of options (type, material, etc) for each item (1,2,7).
If there was only one row of options then you would simply have the first row of the table list all of the options names, and then the option function in each row with an item. With two rows of...