If there is a need for grand totals and no grouping in the project, DynamicJasper provides a way to get that.
Grand totals can be located in the header or the footer of the report
DynamicReportBuilder drb = new DynamicReportBuilder(); //ReportBuilder initialization drb.addGlobalHeaderVariable(columnAmount, ColumnsGroupVariableOperation.SUM); drb.addGlobalFooterVariable(columnAmount, ColumnsGroupVariableOperation.SUM);
Where the parameters passed are:
Refer to GroupsReportTest.html for a working example.