We have to samples that may help you achieve cell merging. I think the first is probably more what you’re looking for. You would need to modify it so it mergers more or less cells depending on the level at which the row is being created.
Imported from legacy forums. Posted by André (had 4574 views)