PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) PD4ML Tips & Tricks How to auto-split a table, that does not fit a single page? Re: Re: How to auto-split a table, that does not fit a single page?

#27224

More Inputs:

I am using the below two options for making header for the same portlet to appear on each page if data exceeds the page

pd4ml.addStyle(“TABLE,DIV {page-break-inside: auto !important}”, true);
pd4ml.enableSmartTableBreaks(true);

This option is working with datagrid with normal header. But when it comes with multiple level of headers(mix of headers), then the issues arises.

Example Grid:

The above options is working for the below format
Header1 Header2 header 3
data1 data2 data3

the above option does not work for the option

Header1 header2 GroupHeader1 GroupHeader2
SubGroupHeader1
Header3 Header4 Header5 Header6 Header7
data1 data2 data3 data4 data5 data6 data7