I have one data visibility problem. Please help me out. kindly refer the below given example.
I am trying to generate PDF file using Java, with the help of "Dynamic Report" framework.
If I have 20 records with 20 columns, and my PDF page can contain only 10 records with 10 columns at a time. In this case my data is coming like on first page of PDF; first 10 records are displaying with first 10 columns, on second page next 10 records are displaying with first 10 columns and then remaining columns of first 10 records are displaying on next page and so.
But I want my output to be like on first page my first 10 records should come with first 10 columns and then on second page next 10 columns of first 10 records should display instead of next records' first 10 columns.
Because if I have thousands of records, in this case it is weird to display remaining columns of my first 10 records after my thousandth record.
Kindly suggest me the solution.
Additional information: org.apache.poi version : 3.7
Current output (If I have 10 records with 8 columns and each page can contain only 5 records with 5 columns):
Dynamic Report - How to manage data visibility in case of page break up
in Products
Posted
Hi All,
I have one data visibility problem. Please help me out. kindly refer the below given example.
I am trying to generate PDF file using Java, with the help of "Dynamic Report" framework.
If I have 20 records with 20 columns, and my PDF page can contain only 10 records with 10 columns at a time. In this case my data is coming like on first page of PDF; first 10 records are displaying with first 10 columns, on second page next 10 records are displaying with first 10 columns and then remaining columns of first 10 records are displaying on next page and so.
But I want my output to be like on first page my first 10 records should come with first 10 columns and then on second page next 10 columns of first 10 records should display instead of next records' first 10 columns.
Because if I have thousands of records, in this case it is weird to display remaining columns of my first 10 records after my thousandth record.
Kindly suggest me the solution.
Additional information: org.apache.poi version : 3.7
Current output (If I have 10 records with 8 columns and each page can contain only 5 records with 5 columns):
Expected output :
Thanks in advance!
Regards
Shikha