While printing resultset using jasper api, I am facing one problem.
**Description :**
**Report format :**
GroupA(GroupHeader)
SubGroupName(SubGroup Header)
....Data(Detail Section).....
**Condition :**
If my subgroup header or GroupHeader appears to be at the bottom of the page i want to insert a page break,so that both header sections as well as data appears on the next page.
Example :
**Actual Output :**
GroupA(GroupHeader)
SubGroupName(SubGroup Header)
....Data(Detail Section).....
**Expected Output :**
I want to avoid unwanted Pagebreak.so that my output will look like ,
GroupA(GroupHeader)
SubGroupName(SubGroup Header)
....Data(Detail Section).....
My JRXML file :
What API are you using: JasperReports or DynamicJasper?
以上就是avoiding unwanted page break in JasperReports的详细内容,更多请关注web前端其它相关文章!