I have a report to build where at the end of the Table I have to print "End of Statement". This static text has to be printed right after the last row of the table. I am using DynamicJasper and I need to know how can I achieve this.
report.addGlobalFooterVariable(cGlobal, new CustomExpression() {
public Object evaluate(Map fields, Map variables, Map parameters)
{
return "End of Statment - > ";
}
public String getClassName() {
return String.class.getName();
}
}, tGlobal.build());
report.setGrandTotalLegend("");