title: remove the white space from columnFooter because columnFooter is only shown on the last page on Jasper
body: <p>I have managed to display columnFooter on the last page but there is still something missing, namely there is still white space at the bottom of each page like the following picture :</p>
  <p><a href="https://i.stack.imgur.com/pMheh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pMheh.png" alt="remove whitespace" /></a></p>
  <p>Here's the code:</p>
  <pre><code>&lt;detail&gt;
      &lt;band height=&quot;60&quot; splitType=&quot;Stretch&quot;&gt;
          &lt;textField textAdjust=&quot;StretchHeight&quot;&gt;
              .
              .
          &lt;/textField&gt;
          &lt;textField&gt;
              .
              .
          &lt;/textField&gt;
          &lt;textField&gt;
              .
              .
          &lt;/textField&gt;
      &lt;/band&gt;
  &lt;/detail&gt;
  &lt;columnFooter&gt;
      &lt;band height=&quot;400&quot; splitType=&quot;Stretch&quot;&gt;
          &lt;printWhenExpression&gt;&lt;![CDATA[$V{CURRENT_PAGE}.equals($V{PAGE_NUMBER})]]&gt;&lt;/printWhenExpression&gt;
          &lt;textField evaluationTime=&quot;Auto&quot;&gt;
              .
              .
          &lt;/textField&gt;
          &lt;textField evaluationTime=&quot;Auto&quot;&gt;
              .
              .
          &lt;/textField&gt;
      &lt;/band&gt;
  &lt;/columnFooter&gt;
  </code></pre>
  <p>What I want is no white space at the bottom of each page, as shown below:</p>
  <p><a href="https://i.stack.imgur.com/XqufT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XqufT.png" alt="thats what I want" /></a></p>
  <p>I've tried the solution to the following question <a href="https://stackoverflow.com/questions/41886140/how-to-make-the-column-footer-band-dynamically-hide-in-jasper-report">How to make the Column Footer band dynamically hide in Jasper report?</a> , namely by replacing columnFooter with groupFooter but I got the following error:</p>
  <p><a href="https://i.stack.imgur.com/r7QBN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r7QBN.png" alt="error message" /></a></p>
  <p>Anyone can help me?</p>