nmn Posted November 3, 2009 Share Posted November 3, 2009 hi,i have a report that is being filled by next() and getFieldValue methods(i have huge data). my textfields were described in detail section. no problem till here but i need header texts for each column on each page. i created a "fake group" before the detail section and placed header textfields in group header. i set reprintHeaderOnEachPage true for this group, it is ok again until the last page. Before last page my detail section ends and personInfo group(fake summary group) goes to next page. So it puts that column headers on last page. if you look my sample jrxml you will understand me :)i am designing my jrxml in the code(with the help of JasperDesign class) but i designed a sample jrxml to explain myself(all textfields are staticTextField at sample but mines are not as you imagine ). Could you give me some idea please? Post Edited by nmn at 11/03/2009 15:20Post Edited by nmn at 11/05/2009 14:26 Link to comment Share on other sites More sharing options...
nmn Posted November 5, 2009 Author Share Posted November 5, 2009 i hate spams but i really need help urgent. doesnt anybody has an idea? Link to comment Share on other sites More sharing options...
nmn Posted November 12, 2009 Author Share Posted November 12, 2009 on tuesday i will show my report to the customer and my problem still exists. i am really sorry for flood but could someone give me an idea please? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted November 18, 2009 Share Posted November 18, 2009 Hi, Posting a screenshot or generated PDF would have helped understand you problem, which is not obvious, just by looking at the JRXML.I don't see why you used a group header instead of using the columnHeader report section. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
nmn Posted November 20, 2009 Author Share Posted November 20, 2009 hi, i have prepared a screenshot. sorry for the blured text but i am working in a company that we have some restrictons :) Link to comment Share on other sites More sharing options...
Teodor Danciu Posted November 24, 2009 Share Posted November 24, 2009 Hi, Why don't you use the summary section of the report for the section number 6?If it is because page headers and footers would be missing, then upgrade to JR 3.6.1 and useisSummaryWithPageHeaderAndFooter="true" for your report template. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
nmn Posted November 24, 2009 Author Share Posted November 24, 2009 ty very much for your help teodor. i have a problem with upgrading to 3.6.1. we are using maven in our project and i am downloading "Jasper Reports" from maven repository. in maven repository the latest version is "3.5.3". i can download and deploy manually but i want to ask; do you know why maven repository is not updated? you can say that is not your problem but i am really curious about that :)finally i will get latest version and try your solution ang give you feedback. thanks again ;) Link to comment Share on other sites More sharing options...
Teodor Danciu Posted December 10, 2009 Share Posted December 10, 2009 Hi, Please use the following public repository for JasperReports: <repository> <id>jasperreports</id> <url>http://jasperreports.sourceforge.net/maven2</url> </repository> We hope this will soon be synchronized with the Maven central repositories, as we have made a sync request here:http://jira.codehaus.org/browse/MAVENUPLOAD-2688 Thank you,Teodor 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