I have a table in my report developed with JasperStudio. I want a new row (applicable to every row) with a value only if this value is not empty. The problem is I can create only new column in my jasper table but no new row! One row represent a Article, and only if the field “description” is not empty for that particular article i want a new row under the article row with the article description.
At the moment the code is something like this:
<detail>
<band height="276" splitType="Stretch">
<jr:column width="70" uuid="8ff3e6f1-0f8b-4bd2-a202-fb407273f5cc">
<property name="com.jaspersoft.studio.components.table.model.column.name" value="Colonna7"/>
<jr:columnHeader style="Table_CH" height="30" rowSpan="1">
<staticText>
<reportElement style="TestoGrossettoStyle" mode="Opaque" x="0" y="0" width="70" height="30" forecolor="#FFFFFF" backcolor="#EC4047" uuid="70dfcd81-e287-4710-9719-ea41e34c2934"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[STATO]]></text>
</staticText>
</jr:columnHeader>
<jr:detailCell style="Table_TD" height="30">
<textField>
<reportElement style="Zebra" mode="Opaque" x="0" y="0" width="70" height="30" uuid="db343a13-f846-4591-9c78-8b8a96149b29"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{stato}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
</jr:table>
</componentElement>
</band>
</detail>
I dont’ want to have a row at the end of the table, i want a new row for every article (for every row)
Is possible to achieve what i want?