Java Reference
In-Depth Information
A JRXML template can contain zero or more <columnHeader> elements. If present,
the number of <columnHeader> elements in the template must match the number
of columns.
<detail>
This element defines the detail section of the report and is repeated for each record in
the report's datasource.
<detail>
<band height="20">
<textField>
<reportElement x="10" y="0" width="600" height="20"/>
<textFieldExpression class="java.lang.String">
<![CDATA[$F{FieldName}]]>
</textFieldExpression>
</textField>
</band>
</detail>
A JRXML template can contain zero or one <detail> elements. Most report
templates contain a <detail> element since typically this is where the main data in
the report is displayed.
<columnFooter>
This element is ignored if the report has a single column.
<columnFooter>
<band height="20">
<staticText>
<reportElement x="0" y="0" width="200" height="20"/>
<text>
<![CDATA[Column Footer]]>
</text>
</staticText>
</band>
</columnFooter>
 
Search WWH ::




Custom Search