How to "hide" grid child manual?

Hello guys!

So, my client wants a 3 column with data, and wants to be organized like he wants, so I used the manual feature of the grid, but the problem is I got a conditional logic to hide the fields that doesn’t have data, and in the final result, sometimes some grid area still filled without data:

How it should be:

How can I prevent this and wrap it when doesn’t have data?

Thank you!


Here is my site Read-Only: webste