I am facing issue with border, i need merge and center my last column like attache image.
I help me to achieve this in my report…… i want all my five column dynamic print and last sixth column merge and center. only on parameter field i am passing there.
Requirment:
My Design Develop Report:
<detail>
<band height="20" splitType="Stretch">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
<textField textAdjust="StretchHeight">
<reportElement stretchType="ElementGroupHeight" x="0" y="0" width="95" height="20" uuid="282dc44b-5e4e-4ae7-a4d5-7fb36276b285"/>
<box>
<pen lineWidth="0.5"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{fieldName}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement stretchType="ElementGroupHeight" x="95" y="0" width="92" height="20" uuid="4723bab1-7d07-4082-8985-97aa9c2e6077"/>
<box>
<pen lineWidth="0.5"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{oldValue}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement stretchType="ElementGroupHeight" x="187" y="0" width="92" height="20" uuid="3de6f958-e495-4eca-a05a-8ec14f560f64"/>
<box>
<pen lineWidth="0.5"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{newValue}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement stretchType="ElementGroupHeight" x="279" y="0" width="92" height="20" uuid="c829826e-2744-4af5-9fd9-b9f1d8e9543d"/>
<box>
<pen lineWidth="0.5"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{modifiedBy}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement stretchType="ElementGroupHeight" x="371" y="0" width="92" height="20" uuid="90f8fb18-e2c0-438c-a42b-a431867c3a17"/>
<box>
<pen lineWidth="0.5"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{dateTime}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement x="463" y="0" width="92" height="20" uuid="c44d7f0b-92df-463a-a23d-3359ff20971e">
<printWhenExpression><![CDATA[$V{REPORT_COUNT} == 1]]></printWhenExpression>
</reportElement>
<box>
<pen lineWidth="0.5"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top">
<paragraph leftIndent="2" rightIndent="2" spacingBefore="2" spacingAfter="2"/>
</textElement>
<textFieldExpression><![CDATA[$P{overallRemarks}]]></textFieldExpression>
</textField>
</band>
</detail>