Solved

Jasper Report: Crosstab Report- Include Page Footer

Posted on 2016-08-20
2
57 Views
Last Modified: 2016-08-25
Dear Sirs
Below is the crosstab report, and I would like to have the page footer forced at bottom. The difficulty I have is that I can only put the cross tab object in the Summary Section. I even tried to create a dummy group so that I can put the cross tab object in the dummy group footer and leave my footer in the page footer, but this wasn't successful as cross tab seems to only work when placed in summary section.
How can I achieve this.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.3.0.final using JasperReports Library version 6.3.0  -->
<!-- 2016-08-20T15:54:35 -->
<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="school_grillepoints" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="ef105187-564b-40f9-acc7-5813592c5b30">
      <property name="com.jaspersoft.studio.data.sql.tables" value=""/>
      <property name="com.jaspersoft.studio.unit." value="pixel"/>
      <property name="com.jaspersoft.studio.data.defaultdataadapter" value="FingerSchoolDataAdapter"/>
      <property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
      <property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
      <property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
      <property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
      <property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
      <property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
      <property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
      <property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
      <style name="style_p1" forecolor="#F21511" pattern="" fontSize="8">
            <conditionalStyle>
                  <conditionExpression><![CDATA[$F{Periode1}.compareTo(new BigDecimal($F{MaxPeriode1}/2)) == -1]]></conditionExpression>
                  <style/>
            </conditionalStyle>
      </style>
      <style name="Crosstab_CH" mode="Opaque" backcolor="#FFFFFF">
            <box>
                  <pen lineWidth="0.5" lineColor="#000000"/>
                  <topPen lineWidth="0.5" lineColor="#000000"/>
                  <leftPen lineWidth="0.5" lineColor="#000000"/>
                  <bottomPen lineWidth="0.5" lineColor="#000000"/>
                  <rightPen lineWidth="0.5" lineColor="#000000"/>
            </box>
      </style>
      <style name="Crosstab_CG" mode="Opaque" backcolor="#BFE1FF">
            <box>
                  <pen lineWidth="0.5" lineColor="#000000"/>
                  <topPen lineWidth="0.5" lineColor="#000000"/>
                  <leftPen lineWidth="0.5" lineColor="#000000"/>
                  <bottomPen lineWidth="0.5" lineColor="#000000"/>
                  <rightPen lineWidth="0.5" lineColor="#000000"/>
            </box>
      </style>
      <style name="Crosstab 1_CH" mode="Opaque" backcolor="#FFFFFF">
            <box>
                  <pen lineWidth="0.5" lineColor="#000000"/>
                  <topPen lineWidth="0.5" lineColor="#000000"/>
                  <leftPen lineWidth="0.5" lineColor="#000000"/>
                  <bottomPen lineWidth="0.5" lineColor="#000000"/>
                  <rightPen lineWidth="0.5" lineColor="#000000"/>
            </box>
      </style>
      <style name="Crosstab 1_CG" mode="Opaque" backcolor="#FFFFFF">
            <box>
                  <pen lineWidth="0.5" lineColor="#000000"/>
                  <topPen lineWidth="0.5" lineColor="#000000"/>
                  <leftPen lineWidth="0.5" lineColor="#000000"/>
                  <bottomPen lineWidth="0.5" lineColor="#000000"/>
                  <rightPen lineWidth="0.5" lineColor="#000000"/>
            </box>
      </style>
      <style name="Crosstab 1_CT" mode="Opaque" backcolor="#BFE1FF">
            <box>
                  <pen lineWidth="0.5" lineColor="#000000"/>
                  <topPen lineWidth="0.5" lineColor="#000000"/>
                  <leftPen lineWidth="0.5" lineColor="#000000"/>
                  <bottomPen lineWidth="0.5" lineColor="#000000"/>
                  <rightPen lineWidth="0.5" lineColor="#000000"/>
            </box>
      </style>
      <style name="Crosstab 1_CD" mode="Opaque" backcolor="#FFFFFF">
            <box>
                  <pen lineWidth="0.5" lineColor="#000000"/>
                  <topPen lineWidth="0.5" lineColor="#000000"/>
                  <leftPen lineWidth="0.5" lineColor="#000000"/>
                  <bottomPen lineWidth="0.5" lineColor="#000000"/>
                  <rightPen lineWidth="0.5" lineColor="#000000"/>
            </box>
      </style>
      <parameter name="zcompanyID" class="java.lang.Integer">
            <parameterDescription><![CDATA[]></parameterDescription>
            <defaultValueExpression><![CDATA[100]]></defaultValueExpression>
      </parameter>
      <parameter name="zuserreport" class="java.lang.String"/>
      <parameter name="ztexte" class="java.lang.String" isForPrompting="false"/>
      <parameter name="zannee" class="java.lang.String" isForPrompting="false">
            <parameterDescription><![CDATA[]></parameterDescription>
      </parameter>
      <parameter name="zcentre" class="java.lang.String" isForPrompting="false">
            <parameterDescription><![CDATA[]></parameterDescription>
      </parameter>
      <parameter name="zcycle" class="java.lang.String" isForPrompting="false">
            <parameterDescription><![CDATA[]></parameterDescription>
      </parameter>
      <parameter name="zclasse" class="java.lang.String" isForPrompting="false"/>
      <parameter name="zperiode" class="java.lang.String" isForPrompting="false"/>
      <queryString>
            <![CDATA[SELECT *
FROM temp_epoints,
      temp_ecompanies
WHERE
      temp_epoints.`userReport` = $P{zuserreport}
       AND temp_ecompanies.`userReport` = $P{zuserreport}
       AND temp_epoints.`companyID` = $P{zcompanyID}
       AND temp_ecompanies.`companyID` = $P{zcompanyID}]]>
      </queryString>
      <field name="UserReport" class="java.lang.String"/>
      <field name="CompanyID" class="java.lang.Integer"/>
      <field name="Annee" class="java.lang.String"/>
      <field name="Cycle" class="java.lang.String"/>
      <field name="CodeClasse" class="java.lang.String"/>
      <field name="CodeEleve" class="java.lang.String"/>
      <field name="Noms" class="java.lang.String"/>
      <field name="CodeCours" class="java.lang.String"/>
      <field name="MaxPeriode1" class="java.lang.Integer"/>
      <field name="MaxPeriode2" class="java.lang.Integer"/>
      <field name="MaxComp1" class="java.lang.Integer"/>
      <field name="MaxSemestre1" class="java.lang.Integer"/>
      <field name="MaxPeriode3" class="java.lang.Integer"/>
      <field name="MaxPeriode4" class="java.lang.Integer"/>
      <field name="MaxComp2" class="java.lang.Integer"/>
      <field name="MaxSemestre2" class="java.lang.Integer"/>
      <field name="MaxPeriode5" class="java.lang.Integer"/>
      <field name="MaxPeriode6" class="java.lang.Integer"/>
      <field name="MaxComp3" class="java.lang.Integer"/>
      <field name="MaxSemestre3" class="java.lang.Integer"/>
      <field name="MaxTotGen" class="java.lang.Integer"/>
      <field name="Periode1" class="java.math.BigDecimal"/>
      <field name="Periode2" class="java.math.BigDecimal"/>
      <field name="Comp1" class="java.math.BigDecimal"/>
      <field name="TotSem1" class="java.math.BigDecimal"/>
      <field name="Periode3" class="java.math.BigDecimal"/>
      <field name="Periode4" class="java.math.BigDecimal"/>
      <field name="Comp2" class="java.math.BigDecimal"/>
      <field name="TotSem2" class="java.math.BigDecimal"/>
      <field name="Periode5" class="java.math.BigDecimal"/>
      <field name="Periode6" class="java.math.BigDecimal"/>
      <field name="Comp3" class="java.math.BigDecimal"/>
      <field name="TotSem3" class="java.math.BigDecimal"/>
      <field name="TotGen" class="java.math.BigDecimal"/>
      <field name="Pourcent" class="java.math.BigDecimal"/>
      <field name="PourcRep" class="java.math.BigDecimal"/>
      <field name="Cote" class="java.math.BigDecimal"/>
      <field name="Maxima" class="java.lang.Integer"/>
      <field name="COLUMN_39" class="java.lang.String"/>
      <field name="COLUMN_40" class="java.lang.Integer"/>
      <field name="Sigle" class="java.lang.String"/>
      <field name="COLUMN_42" class="java.lang.String"/>
      <field name="Telephone" class="java.lang.String"/>
      <field name="Fax" class="java.lang.String"/>
      <field name="Email" class="java.lang.String"/>
      <field name="Site" class="java.lang.String"/>
      <field name="DocAdmin" class="java.lang.String"/>
      <field name="Siege" class="java.lang.String"/>
      <field name="InfoBancaire" class="java.lang.String"/>
      <field name="Sceau" class="java.io.InputStream"/>
      <field name="Logo" class="java.io.InputStream"/>
      <field name="Actif" class="java.lang.Boolean"/>
      <sortField name="Noms"/>
      <sortField name="CodeCours"/>
      <variable name="vnum" class="java.lang.Integer" calculation="Count">
            <variableExpression><![CDATA[1]]></variableExpression>
      </variable>
      <group name="Group1">
            <groupExpression><![CDATA[$F{CompanyID}]]></groupExpression>
      </group>
      <background>
            <band splitType="Stretch"/>
      </background>
      <pageHeader>
            <band height="96">
                  <image>
                        <reportElement positionType="Float" x="0" y="0" width="175" height="75" uuid="ba7adef1-9c39-4ea3-94c9-d660e4bbd52f">
                              <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                              <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                              <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
                        </reportElement>
                        <imageExpression><![CDATA[$F{Logo}]]></imageExpression>
                  </image>
                  <frame>
                        <reportElement x="380" y="0" width="418" height="90" uuid="3ad97b44-2668-4742-ae8e-73b4155a361d">
                              <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                              <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        </reportElement>
                        <staticText>
                              <reportElement x="0" y="0" width="418" height="20" forecolor="#0000FF" backcolor="#FFFFFF" uuid="88eaff84-5591-414f-8788-950ec0a8c1c9">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                              </reportElement>
                              <box rightPadding="0">
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#0000FF"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#0000FF"/>
                                    <bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#0000FF"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#0000FF"/>
                              </box>
                              <textElement textAlignment="Center" verticalAlignment="Middle">
                                    <font size="12" isBold="true" isUnderline="false"/>
                              </textElement>
                              <text><![CDATA[GRILLE DES POINTS]]></text>
                        </staticText>
                        <staticText>
                              <reportElement x="0" y="25" width="75" height="20" uuid="580bc15d-7b18-478e-b267-390ee9c783c6">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9"/>
                              </textElement>
                              <text><![CDATA[Année Scolaire:]]></text>
                        </staticText>
                        <textField>
                              <reportElement x="80" y="25" width="105" height="20" uuid="4e776fcd-9693-4f90-97e0-b2e9d16d2859">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9" isBold="true"/>
                              </textElement>
                              <textFieldExpression><![CDATA[$P{zannee}]]></textFieldExpression>
                        </textField>
                        <staticText>
                              <reportElement x="0" y="45" width="75" height="20" uuid="0ef49f52-6f79-446c-a6ff-b248a79cc65d">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9"/>
                              </textElement>
                              <text><![CDATA[Centre:]]></text>
                        </staticText>
                        <textField>
                              <reportElement x="80" y="45" width="105" height="20" uuid="5f98b91a-fce4-4dee-81c8-fd1e585edd6b">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9" isBold="true"/>
                              </textElement>
                              <textFieldExpression><![CDATA[$P{zcentre}]]></textFieldExpression>
                        </textField>
                        <staticText>
                              <reportElement x="0" y="65" width="75" height="20" uuid="d2127d35-fede-4c2f-9663-42c6230b26f7">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9"/>
                              </textElement>
                              <text><![CDATA[Cycle:]]></text>
                        </staticText>
                        <textField>
                              <reportElement x="80" y="65" width="105" height="20" uuid="2ccbf4eb-14d5-4803-9191-6ffa4c72fd67">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9" isBold="true"/>
                              </textElement>
                              <textFieldExpression><![CDATA[$P{zcycle}]]></textFieldExpression>
                        </textField>
                        <staticText>
                              <reportElement x="190" y="25" width="75" height="20" uuid="3bd667a0-1a44-4021-b119-db89253cdc19">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9"/>
                              </textElement>
                              <text><![CDATA[Classe:]]></text>
                        </staticText>
                        <staticText>
                              <reportElement x="190" y="45" width="75" height="20" uuid="519ccb44-feb8-4ea3-9444-6fe1b460564b">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9"/>
                              </textElement>
                              <text><![CDATA[Période:]]></text>
                        </staticText>
                        <textField>
                              <reportElement x="270" y="25" width="105" height="20" uuid="21c4adf8-0a9d-4b0a-a319-af3a20774a4a">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9" isBold="true"/>
                              </textElement>
                              <textFieldExpression><![CDATA[$P{zclasse}]]></textFieldExpression>
                        </textField>
                        <textField>
                              <reportElement x="270" y="45" width="105" height="20" uuid="e54c08a2-39ab-42a5-8e8b-642a859e47fb">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                              </reportElement>
                              <textElement>
                                    <font size="9" isBold="true"/>
                              </textElement>
                              <textFieldExpression><![CDATA[$P{zperiode}]]></textFieldExpression>
                        </textField>
                  </frame>
            </band>
      </pageHeader>
      <pageFooter>
            <band height="35">
                  <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                  <frame>
                        <reportElement key="" x="0" y="0" width="802" height="35" uuid="1a5c4351-2618-42af-aa92-7b71049faeb9">
                              <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                        </reportElement>
                        <textField>
                              <reportElement x="696" y="8" width="50" height="20" uuid="01f30d25-5c64-4324-9ccf-912c234d4a53"/>
                              <textElement textAlignment="Right" verticalAlignment="Middle">
                                    <font size="8"/>
                              </textElement>
                              <textFieldExpression><![CDATA["Page " + $V{PAGE_NUMBER}]]></textFieldExpression>
                        </textField>
                        <textField evaluationTime="Report">
                              <reportElement x="746" y="8" width="40" height="20" uuid="352ea5e9-d50a-4e8a-858a-632d32caa845">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                              </reportElement>
                              <textElement textAlignment="Left" verticalAlignment="Middle">
                                    <font size="8"/>
                              </textElement>
                              <textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression>
                        </textField>
                        <line>
                              <reportElement x="0" y="8" width="791" height="1" uuid="8368f64d-5e95-4243-a7fd-070719cd83e5"/>
                              <graphicElement>
                                    <pen lineWidth="0.5"/>
                              </graphicElement>
                        </line>
                        <textField pattern="dd/MM/yyyy HH:mm:ss">
                              <reportElement x="0" y="8" width="100" height="20" uuid="4ec68a2b-d5e2-43d7-8db4-b2744075c55f">
                                    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                              </reportElement>
                              <textElement verticalAlignment="Middle">
                                    <font size="8"/>
                              </textElement>
                              <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
                        </textField>
                        <textField pattern="">
                              <reportElement x="106" y="8" width="100" height="20" uuid="e11e6930-6997-43d8-91ec-bc491580a69e"/>
                              <textElement verticalAlignment="Middle">
                                    <font size="8"/>
                              </textElement>
                              <textFieldExpression><![CDATA[$F{CompanyID}]]></textFieldExpression>
                        </textField>
                  </frame>
            </band>
      </pageFooter>
      <summary>
            <band height="215">
                  <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                  <crosstab>
                        <reportElement x="0" y="0" width="802" height="215" uuid="c0d83e63-7dbb-45df-bfa1-422de74feb60">
                              <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/>
                        </reportElement>
                        <rowGroup name="Noms" width="175" totalPosition="End">
                              <bucket class="java.lang.String">
                                    <bucketExpression><![CDATA[$F{Noms}]]></bucketExpression>
                              </bucket>
                              <crosstabRowHeader>
                                    <cellContents mode="Opaque" style="Crosstab 1_CH">
                                          <box topPadding="0" leftPadding="5" bottomPadding="0" rightPadding="5"/>
                                          <textField>
                                                <reportElement x="0" y="0" width="165" height="20" uuid="7fc14488-53d0-4980-93ac-49a0564f99ea"/>
                                                <textElement verticalAlignment="Middle">
                                                      <font size="8" isBold="false"/>
                                                </textElement>
                                                <textFieldExpression><![CDATA[$V{ROW_COUNT} + ". " + $V{Noms}]]></textFieldExpression>
                                          </textField>
                                    </cellContents>
                              </crosstabRowHeader>
                              <crosstabTotalRowHeader>
                                    <cellContents mode="Opaque" style="Crosstab 1_CT">
                                          <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                    </cellContents>
                              </crosstabTotalRowHeader>
                        </rowGroup>
                        <columnGroup name="CodeCours" height="100" totalPosition="End" headerPosition="Center">
                              <bucket class="java.lang.String">
                                    <bucketExpression><![CDATA[$F{CodeCours}]]></bucketExpression>
                              </bucket>
                              <crosstabColumnHeader>
                                    <cellContents mode="Opaque" style="Crosstab 1_CH">
                                          <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                                          <textField isStretchWithOverflow="true">
                                                <reportElement stretchType="ContainerHeight" x="0" y="0" width="35" height="100" uuid="52f3fae6-a1ef-4a11-a5c4-1ff50657084a"/>
                                                <textElement textAlignment="Center" verticalAlignment="Middle" rotation="Right">
                                                      <font size="8"/>
                                                </textElement>
                                                <textFieldExpression><![CDATA[$V{CodeCours}]]></textFieldExpression>
                                          </textField>
                                    </cellContents>
                              </crosstabColumnHeader>
                              <crosstabTotalColumnHeader>
                                    <cellContents mode="Opaque" style="Crosstab 1_CT">
                                          <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                                          <staticText>
                                                <reportElement x="0" y="0" width="45" height="100" forecolor="#000000" uuid="0fb81327-6b99-4ba4-b725-133161d89984"/>
                                                <textElement textAlignment="Center" verticalAlignment="Middle" rotation="Right">
                                                      <font size="8" isBold="true"/>
                                                </textElement>
                                                <text><![CDATA[Total]]></text>
                                          </staticText>
                                    </cellContents>
                              </crosstabTotalColumnHeader>
                        </columnGroup>
                        <measure name="Periode1_MEASURE" class="java.math.BigDecimal" calculation="Sum">
                              <measureExpression><![CDATA[$F{Periode1}]]></measureExpression>
                        </measure>
                        <crosstabCell width="35" height="20">
                              <cellContents mode="Opaque" style="Crosstab 1_CD">
                                    <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                                    <textField>
                                          <reportElement x="0" y="0" width="35" height="20" uuid="7677a13c-1a9b-4d95-b893-4269c5843461"/>
                                          <box leftPadding="5" rightPadding="5"/>
                                          <textElement textAlignment="Right" verticalAlignment="Middle">
                                                <font size="8"/>
                                          </textElement>
                                          <textFieldExpression><![CDATA[$V{Periode1_MEASURE}]]></textFieldExpression>
                                    </textField>
                              </cellContents>
                        </crosstabCell>
                        <crosstabCell width="45" height="20" columnTotalGroup="CodeCours">
                              <cellContents mode="Opaque" style="Crosstab 1_CT">
                                    <textField>
                                          <reportElement x="0" y="0" width="45" height="20" forecolor="#000000" uuid="f4e8413c-d7fb-4d7a-8e9b-fc8d69d835eb"/>
                                          <box leftPadding="5" rightPadding="5"/>
                                          <textElement textAlignment="Right" verticalAlignment="Middle">
                                                <font size="8"/>
                                          </textElement>
                                          <textFieldExpression><![CDATA[$V{Periode1_MEASURE}]]></textFieldExpression>
                                    </textField>
                              </cellContents>
                        </crosstabCell>
                        <crosstabCell width="35" height="0" rowTotalGroup="Noms">
                              <cellContents mode="Opaque" style="Crosstab 1_CT"/>
                        </crosstabCell>
                        <crosstabCell width="45" height="0" rowTotalGroup="Noms" columnTotalGroup="CodeCours">
                              <cellContents mode="Opaque" style="Crosstab 1_CT"/>
                        </crosstabCell>
                  </crosstab>
            </band>
      </summary>
</jasperReport>
0
Comment
Question by:Omer-Pitou
  • 2
2 Comments
 

Accepted Solution

by:
Omer-Pitou earned 0 total points
ID: 41771048
Actually, the report couldn't render the image (logo) on the other pages, when the crosstab was placed in a dummy group other.
To solve the problem I add isUsingCache="true" to the image tag (<image isUsingCache="true">....</image>)
0
 

Author Comment

by:Omer-Pitou
ID: 41771049
Which isUsingCache="true" added, I placed the crosstab in a dummy group footer and my footer in the page footer.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question