title: Jasper Report: Page break and remaning content goes to next page
body: <p>We have used jasper report with different band for subreports. One band has table where we see page break with content span in next page, Please refer the image where earning cut down and went to next page</p>
  
  <p>Jrxml code snippet </p>
  
  <pre><code>&lt;band height="40" splitType="Immediate"&gt;
          &lt;subreport overflowType="Stretch"&gt;
              &lt;reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="555" height="40" uuid="0708d796-8c54-4efc-bc96-b74081244095"&gt;
                  &lt;property name="com.jaspersoft.studio.unit.height" value="pixel"/&gt;
                  &lt;property name="com.jaspersoft.studio.unit.y" value="pixel"/&gt;
              &lt;/reportElement&gt;
              &lt;dataSourceExpression&gt;&lt;![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{openAnswersList})]]&gt;&lt;/dataSourceExpression&gt;
              &lt;subreportExpression&gt;&lt;![CDATA["OpenQuestionData.jrxml"]]&gt;&lt;/subreportExpression&gt;
          &lt;/subreport&gt;
      &lt;/band&gt;
  &lt;/detail&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/OQ1O0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OQ1O0.png" alt="enter image description here"></a></p>