sinsand Posted February 4, 2014 Share Posted February 4, 2014 HI,the samples i found on net is saying about the single page TOC, Can anyone suggests how can we implement multipage TOC,Requirement : To create a Toc for a report.but the report contains 1000 page data and from those pages we have to create a TOC so the TOC will come in multiple pages so how to resolve the issue of correct pages or how to implement this scenrio.Simply put i need to create a TOC which is more than one page.Can anyone suggest how this can be implemented? Link to comment Share on other sites More sharing options...
ilona Posted February 6, 2014 Share Posted February 6, 2014 There are samples here: http://jasperreports.sourceforge.net/sample.reference/tableofcontents/index.htmlAlso, I found this blog: http://rolandtapken.de/blog/2013-04/jasperreports-append-report-toc-without-scriplets that might be helpful for you.Regards,Ilona Link to comment Share on other sites More sharing options...
sinsand Posted February 6, 2014 Author Share Posted February 6, 2014 Thanks ilona for ur reply, I used the samples from the jasper report and it is working fine, but the page number starts from 1 of the content, i.e. the TOC does not have the Page number and if it did those will be of the last pages right? as we are cutting the last pages and pasting it in the top of the document.Is there a Way by which we can give the TOC page numbers with correct page numbers in the report as well? Link to comment Share on other sites More sharing options...
sinsand Posted February 6, 2014 Author Share Posted February 6, 2014 Got it, as it is the issue with this approach, i read the static text few hours later after my all search was done Link to comment Share on other sites More sharing options...
ADR707 Posted February 10, 2014 Share Posted February 10, 2014 Hi ilona, Nice example, thanks; got implemented successfully. I just wanted to know, is there anyway we can bring TOC to the first page of the report. 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