Editable custom grid

Hello, how can I create a personalized and editable grid, I want to do something in which I can select a model product and the variants are shown in the columns and the components in the rows, this to create the billofmaterial in a faster and more efficient way