how to use print when condition in jasper table
<p>I want to dynamically show or hide   my table footer in jasper  Report  I edited my print when condition  but it shows some error . can someone please help me. I will attach my screen shots<a href="https://i.stack.imgur.com/XW4z7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XW4z7.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/VAUWc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VAUWc.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/4G2tM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4G2tM.png" alt="enter image description here"></a></p>