Posted on 11/09/2017 11:04:04
Hi Mikkel
Yes, I understand now. No, currently you cannot do that using the grid-mode:auto. We have an item to make containers and rows support item types so they can have settings for stuff like this, background images and colors etc.
You also have this option: grid:true;grid-settings:file.json;grid-mode:InlineTemplate which will tell Dynamicweb to not insert the markup it self. Then in your templates you can take a look at the paragraphViewModel.Grid and paragraphViewModel.SwitchRowAfterCurrentParagraph etc. properties to insert the markup when needed. See https://doc.dynamicweb.com/api/html/865d15b0-9823-0d92-eaf4-439339cee215.htm
And then hook into the rendering and insert the additional container information.
BR Nicolai