Java Reference
In-Depth Information
<![CDATA[$F{aircraft_serial}]]>
</textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>
The two main differences between this JRXML template and the one discussed in the
Grouping Report Data
section is that we consolidated the
<staticText>
rendering
the string
Model
and the
<textField>
rendering the
Model
field into a single
<textField>
element. The other, and more significant change, is that we set the
isPrintRepeatedValues
element in the corresponding
<reportElement>
element
to
false
. After compiling the JRXML template, filling the resulting Jasper template,
and exporting the resulting report, we should see a report like the following: