How to add dynamic rows inside another dynamic rows in datatable ?

I want to add dynamic rows inside another dynamic rows with datatable, how to achieve this type of scenario ?