title: Displaying tables below each other in JasperReports
body: <p>I have to create a report where several tables are diplayed below each other. Each table gets its data from a SubDataset and contains none, one or more rows.
  <br><br>For the first version of the report, I've simply ignored the possibility of a table having no rows and put all tables below each other, each with the height of 1 row. The idea was, that if there is more than one row, the table will grow in height, which seems to work fine. I've given the first table a fixed position and set all subsequent ones to float. In iReport it looks like this: </p>
  
  <p><img src="https://i.stack.imgur.com/NTIvT.png" alt="enter image description here"></p>
  
  <p><br><br>But when I create a report, only the first table is at the expected position. The rest is displayed too low and overlaps: </p>
  
  <p><img src="https://i.stack.imgur.com/fnttG.png" alt="enter image description here"></p>
  
  <p><br><br>Any idea how to fix this? I can't use subreports, because the report is stored in a database so I can't reference other reports. Is there maybe another alternative to subreports or tables?</p>