Table part layout

Hello. I have one column of the table part and under the condition that it can some row can be divided into such a layout, like on the left is the general name and on the right already as nested, how can this be implemented?


see table part