[#12661] - Move the entire row to next page when one or more text fields data overflows to next page

Category:
Bug report
Priority:
Urgent
Status:
Feedback Requested
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

When one or more text fields data overflows to next page, some data is overflow across from one page to next page.

Already set below configure, but cannot move the entire row to next page when one or more text fields data overflows to next page.
1) try select or remove "Detail Over flow" option for all the textfield elements
2) Select the detail band and look into the properties of it.
Chose Split Type = Prevent

TIBCO Jaspersoft® Studio 6.6.0 - Visual Designer for JasperReports 6.6.0. is used.
Please advise.

AttachmentSize
Image icon error_screen.png55.94 KB
v6.6.0
Jaspersoft® Studio
haloken's picture
Joined: Feb 5 2020 - 8:06pm
Last seen: 2 days 9 hours ago

1 Comment:

#1

Problem solved by using subreport. In master report:
<detail>
<band height="216" splitType="Stretch">
<subreport runToBottom="false">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" mode="Transparent" x="10" y="26" width="790" height="75" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="3a57cf99-739c-4acd-99c1-272f087d73ad"/>
<dataSourceExpression><![CDATA[$P{vaccineType}]]></dataSourceExpression>
<subreportExpression><![CDATA[$P{SUB_REPORT}]]></subreportExpression>
</subreport>

-------------------------------------------------------
In subreport set splitType to Prevent:
<detail>
<band height="15" splitType="Prevent">

Feedback
randomness