adhoc sub-row add

Hello
Currently we are adding data through parse, but need to add sub-rows to every row. We have the sub-row data in an array. Is there a way to parse the top-level rows and then add the sub-row data? Using v3

You can use common setValue API to set content of sub-rows

grid.cells(i,j).setValue("sub row content");