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: 3 months 1 week 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
285
Joined: Feb 22 2018 - 3:49am
Last seen: 1 day 16 hours ago
Feedback