【发布时间】:2017-01-28 05:22:21
【问题描述】:
我在 iReport 中有一份报告。我在列页脚中包含了textFieldExpression。我的问题是,即使该行是空白的,它仍会占用波段高度的空间,从而将其余字段发送到另一张表。
我的代码如下:
<columnFooter>
<band height="12" splitType="Stretch">
<printWhenExpression><![CDATA[$F{descripcionComentario}!=null]]></printWhenExpression>
<textField>
<reportElement x="42" y="0" width="100" height="12" uuid="5a9cbe9d-486a-4dd4-a865-d421cd7366a6"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{descripcionComentario}]]></textFieldExpression>
</textField>
</band>
</columnFooter>
【问题讨论】:
标签: jasper-reports