How to display detail band based on condition in jasper report

0

How to display detail band based on condition jasper report

tstuser's picture
Joined: Oct 21 2018 - 10:35pm
Last seen: 1 year 5 months ago

1 Answer:

0

You can define printWhenExpression for detail band. For example,

<detail>
    <band height="30" splitType="Stretch">
    <printWhenExpression><![CDATA[<place your condition here>]]></printWhenExpression>
     ...
     ...
 
     ...
    </band>
</detail>
prusyn's picture
1218
Joined: Feb 22 2018 - 3:49am
Last seen: 5 hours 26 min ago
Feedback
randomness