How to remove extra space between rows in JasperReports?

一曲冷凌霜 提交于 2019-12-05 04:46:15

I think that is because you declare 125px for each row:

<detail>
    <band height="125" splitType="Stretch">

but use only 20px of that:

<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="209" height="20"/>

Try to make detail band as height as you use (20px):

<detail>
    <band height="20" splitType="Stretch">

I'm not sure, because I didn't use Jasper for a few months, but try this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!