我的报告一直存在问题。我的报告中有一个表格显示了一些信息,如下图所示:
但是,当我生成文件时,它会显示一个空白行,如下图所示:
我的表格包含以下代码:
<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components"
xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd"
whenNoDataType="AllSectionsNoDetail">
<datasetRun subDataset="ERP BD" uuid="a3124a63-2f0e-439b-8076-19e62521f2c4">
<datasetParameter name="_IDCLIENTE">
<datasetParameterExpression><![CDATA[$F{IDCLIENTEERP}]]></datasetParameterExpression>
</datasetParameter>
<connectionExpression><![CDATA[$P{_ERP_CONNECTION}]]></connectionExpression>
</datasetRun>
<jr:column width="75" uuid="21a9bef0-6162-454f-b5a7-f2e909e86384">
<jr:tableHeader height="10" rowSpan="1">
<staticText>
<reportElement x="0" y="0" width="75" height="10" uuid="959dff12-eff7-4c78-89d0-ccf8b817b278"/>
<textElement verticalAlignment="Top">
<font fontName="SansSerif" size="6"/>
</textElement>
<text><![CDATA[Código:]]></text>
</staticText>
</jr:tableHeader>
<jr:tableFooter height="10" rowSpan="1">
<staticText>
<reportElement x="0" y="0" width="75" height="10" uuid="1894ffb4-b976-428e-886e-aed2e584c4a8"/>
<textElement verticalAlignment="Top">
<font fontName="SansSerif" size="6"/>
</textElement>
<text><![CDATA[Cnpj/Cpf:]]></text>
</staticText>
</jr:tableFooter>
<jr:columnHeader height="10" rowSpan="1">
<staticText>
<reportElement x="0" y="0" width="75" height="10" uuid="08fa2169-87df-4588-9bee-6a423cce4153"/>
<textElement verticalAlignment="Bottom">
<font fontName="SansSerif" size="6"/>
</textElement>
<text><![CDATA[Nome:]]></text>
</staticText>
</jr:columnHeader>
<jr:columnFooter height="10" rowSpan="1">
<staticText>
<reportElement x="0" y="0" width="75" height="10" uuid="4fadf9ed-3bb5-48ca-b7e3-72672d320fc5"/>
<textElement verticalAlignment="Top">
<font fontName="SansSerif" size="6"/>
</textElement>
<text><![CDATA[Cidade:]]></text>
</staticText>
</jr:columnFooter>
<jr:detailCell height="10" rowSpan="1">
<staticText>
<reportElement x="0" y="0" width="75" height="10" uuid="0d3ca4d2-bf4d-4874-85a7-7c4ce6a463de"/>
<textElement verticalAlignment="Top">
<font fontName="SansSerif" size="6"/>
</textElement>
<text><![CDATA[End.:]]></text>
</staticText>
</jr:detailCell>
</jr:column>
</jr:table>
我的所有列都与上面的列相似。
如何删除报告中的那一行?