editable grid

i have like this data in bd based for one cif we may have multiple child request id

i have to show the data in editable grid like below 

 

  Discussion posts and replies are publicly visible

Parents Reply Children