intive-FDV / DynamicJasper

Dynamic Reports using Jasper Reports
http://intive-fdv.github.io/DynamicJasper/
GNU Lesser General Public License v3.0
241 stars 128 forks source link

Crosstabs using main datasource are missing data #67

Open geoffgibbs opened 6 years ago

geoffgibbs commented 6 years ago

When used in the header the first row is missing, when used in the footer all rows are missing.

I'm assuming that this is due the fact that groups are used to contain the crosstabs: When a group header is used, the main report gets the first row of data from the datasource then renders the group, passing the datasource to the crosstab with the first row already processed. When used in the footer, all rows are processed as part of the main report then the datasource is passed to the crosstab with no data remaining.