[#13671] - isPrintInFirstWholeBand="true" property does not work if data exceeds more than one page

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

In my jrxml, I'm using 2 bands in detail band
1st band is used to display header, which needs to be printed only once at the top of each page even if detail band data exceeds in more than one pages. for this I have added below properties.

<textField isStretchWithOverflow="true">
<reportElement style="DefaultStyle" positionType="Float" isPrintRepeatedValues="false" x="0" y="1" width="79" height="10" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" printWhenGroupChanges="MultipleGrouping" uuid="ac0fbd1a-ffab-47dc-98f8-468122734179"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_20_BENE_ACCT_NO})+ "</style>"]]></textFieldExpression>
</textField>

2nd band is used to display records in detail band

Result i'm getting

Page1
Group Header
Header -- detail band 1
record1
record2
record3

Page2
record4
Header -- detail band 1
record5
record6

Expected Results-:

Page1
Group Header
Header -- detail band 1
record1
record2
record3

Page2
Header -- detail band 1
record4
record5
record6

v6.7.0
atulnamdeo7's picture
Joined: Feb 26 2020 - 11:05pm
Last seen: 3 months 4 weeks ago

3 Comments:

#1
  • Severity:Minor» Major
  • Reproducibility:N/A» Always
#2
  • Priority:Normal» High
#3
  • Priority:High» Urgent
  • Severity:Major» Critical
Feedback
randomness