Can we avoid a page break in the middle of a template-grid element when creating a pdf ?

Hello all, When I generate a pdf document that includes a template grid, I would like to avoid that there is a page break in the middle of an element. Ideally, if there is no space to display the full cell on the page, then there would be a page break to avoid to have the cell of the same element over two pages. (like below).   Any idea on how to do this, if it is feasible ? Thanks a lot for your help ! :)
1 answers

Hi Olivier,

We have solved a similar issue using a custom CSS addition in the document template. 

The table cell that contains the part that should always be on a single page instead of breaking accross needs the following custom CSS:


See example below: