This thread is resolved. Here is a description of the problem and solution.
Problem:
When inserting Views into grids of cells in a Layout there is a problem with the markup, an unclosed div which is breaking things.
Solution:
Removing the Views one-by-one made it possible to identify which View was adding an unclosed div, which could then be closely inspected to resolve where. (Recreating the View fixed the issue.)
This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
I am using the layouts for building my pages. And there is problem, that they do not close the DIV when grid of cells is used. I dont know why.
Also the website is running so slow with bery big scripts and I can not understand why. I have recently build big listing site which works pretty fast and it is the same config...
I set up a local test using grids of cells and I couldn't reproduce the problem, all of the generated markup was correctly formed, with divs correctly closed.
Looking at the screenshots you shared I see that the problem grid of cells contains several Views.
I would say that the most likely cause is a problem with the markup output by an individual View rather than by the Layout itself.
I suggest you try deleting each of the Views one-by-one to see if you can isolate which View is missing a closing div from its markup. If you think you have isolated the problem View you should be able to insert that View on its own into a page and check the markup to verify there is a missing closing div, in which case it is a question of examining the View markup to see where the problem is.
If you find the problem View but can't identify why, let me know and I will take a look.
It can be difficult to spot how or why an extra div appears, so deleting the Views cells individually would help determine whether that is the problem or not, so let me know what you find, and I'll be happy to jump in and help when you've done that.