Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82327

Dynamic Page Break in Document Template

$
0
0

Hi Team,

 

Is it possible to add page break dynamically in document template while generating pdf?

Scenario:

I have around 15-20 tables which are getting displayed through microflows.

Based on the available space I want to display the content of table.If available space is less then I want the 2nd table to start from next page.

 

I tried using the css page-break-inside: avoid;page-break-before:auto; it worked fine for table having less rows.

However if table contains 100-200 rows then this css is trying to fit everything on same page and contents are going underneath the page.

Please refer to the screenshot below..

Any pointers on this would be appreciated.

 

Regards,

Swathi


Viewing all articles
Browse latest Browse all 82327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>