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"/>
" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_20_BENE_ACCT_NO})+ ""]]>
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