Jump to content
Changes to the Jaspersoft community edition download ×

[solved] Detail band does not overflow to next page


markie.alpinista

Recommended Posts

Hello!

I have two text fields inside a detail band. Here follows band XML code:

<band height="40" splitType="Prevent">
   <textField isStretchWithOverflow="true">
       <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="20" width="100" height="20" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true" uuid="67cd0dfb-9a6d-4468-            8aac-3f48e539c584"/>
      <textFieldExpression><![CDATA[$F{Resposta}]]></textFieldExpression>
   </textField>
   <textField isStretchWithOverflow="true">
      <reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" x="0" y="0" width="100" height="20" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"          uuid="c7fa90d3-2b11-4127-b319-5461a80acb2d"/>
      <textFieldExpression><![CDATA[$F{Nome Questão}]]></textFieldExpression>
   </textField>
</band>
As you can see, the text fields position type is "float", stretch type is "Relative to band height" print in first whole band is "true" print when detail overflows is "true" and stretch with overflow is also "true".
Band's Stretch Type is set to "Prevent".
 
I don't get it why it does not print all the rows I should get with my query. It should continue printing in more pages until all rows were displayed.
Any ideas?
 
[EDIT]
It's working.
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...