lshiva56 Posted November 9, 2009 Share Posted November 9, 2009 Hi Jasper Specialists, I am trying to print the Total in the last page using columnFooter.But the Total is printed in every page after the detail section.I need,ColumnFooter to be enabled only in the lastpage of the report.Especially the expression that works in printWhenExpression. Guys can any one help to find this solution..I am breaking my head for more than 2 weeks.Hoping for the replying ahead. ThanksSIVA.L Link to comment Share on other sites More sharing options...
wdn Posted November 9, 2009 Share Posted November 9, 2009 Why not use the "summary" band for this? That one is printed on the last page. Link to comment Share on other sites More sharing options...
lshiva56 Posted November 9, 2009 Author Share Posted November 9, 2009 Hi,I have done the same thing right now that is using summary.The problem is i need the pageHeader information to be added the Last page for that if i use columnFooter it will be better.I am aware that JR3.6.1 has the attribute called isSummaryWithPageheaderandFooter i used that also but no proper output.Bcoz we are using DynamicJasper in that they are using JR3.5.2 version.So now we are unable to migrate.. to JR3.6.1Any Ideas regarding this.. ThanksSiva.L Link to comment Share on other sites More sharing options...
lshiva56 Posted November 17, 2009 Author Share Posted November 17, 2009 HI guys,I found the solution..the thing is to use Dummy group and groupFooter. Then everything is fine....Attaching a sample code.. ThanksSiva.LCode: <group name="g3"> <groupExpression><![CDATA[boolean.TRUE]]></groupExpression> <groupFooter> <band height="15"> <textField> <reportElement x="0" y="0" width="200" height="15" /> <textElement /> <textFieldExpression class="java.lang.String"> <![CDATA[string.valueOf($P{address})]]> </textFieldExpression> </textField> </band> </groupFooter> </group> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now