开发者

How do I make the report always close at end of page in JasperReport?

开发者 https://www.devze.com 2023-04-09 21:24 出处:网络
For what I know, JasperReport will always attach bands like Column Footer, Summary... right after the end of Detial band. So, when only few lines left in Detail band at last page, after all other band

For what I know, JasperReport will always attach bands like Column Footer, Summary... right after the end of Detial band. So, when only few lines left in Detail band at last page, after all other band appended, report will remain lots of empty space.

How do I make the Detail band stretch, so the bands like Column Footer and Summary will always stay at the bottom of the page ?

I came up a way to move all data in Summary into Last Page Footer, and fake the border line in Background so it looks like Detail band stretch, it works great. But when there are no enough space for Last Page Footer and move to the next page. The fake border line 开发者_如何学运维fail to match, so I don't think this is a correct way to achieve this.

Any help would be appreciated.

0

精彩评论

暂无评论...
验证码 换一张
取 消