私はちょうどグループフッターを使用して任意の問題が表示されていない。
を
これは私のjrxmlです:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.3.0.final using JasperReports Library version 6.2.1 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Stackoverflow" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0bf40f57-106b-468c-aad0-0542f71e2399">
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<queryString>
<![CDATA[SELECT
(start_date + (LEVEL - 1)) AS start_date,
to_char(start_date + (LEVEL - 1), 'iw') week
FROM (
SELECT
sysdate AS start_date,
sysdate +20 AS end_date
FROM dual)
CONNECT BY LEVEL <= 1 + (end_date - start_date)]]>
</queryString>
<field name="START_DATE" class="java.sql.Timestamp"/>
<field name="WEEK" class="java.lang.String"/>
<group name="WEEK">
<groupExpression><![CDATA[$F{WEEK}]]></groupExpression>
<groupHeader>
<band height="30">
<textField>
<reportElement x="0" y="0" width="100" height="30" uuid="3eb19eee-5434-4351-9788-b48fb2cc6fef"/>
<textFieldExpression><![CDATA[$F{WEEK}]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band height="30">
<staticText>
<reportElement x="0" y="0" width="100" height="30" uuid="5c713058-5d7c-4992-a20c-d35906bb9c15"/>
<textElement>
<font size="14" isBold="true" isItalic="true"/>
</textElement>
<text><![CDATA[Static Text]]></text>
</staticText>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="30">
<textField>
<reportElement x="0" y="0" width="278" height="30" uuid="eb6c2cf4-2e94-4886-a251-927230710920">
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<textFieldExpression><![CDATA[$F{START_DATE}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="278" y="0" width="277" height="30" uuid="7b30b722-c582-4b8d-8336-932bf0cf3c06"/>
<textFieldExpression><![CDATA[$F{WEEK}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>
たぶん、あなたの質問は少し明確に?
ありがとうございました。あなたのJRXMLははっきりしていますが、私はそれをまだ理解していません。私は新しい構造で私の最初の投稿を編集しました、うまくいけばそれはもっとはっきりしています。 もう一度、ありがとうございました。 –