sateesh139 Posted December 9, 2008 Share Posted December 9, 2008 Hi EveryOne,I have disigned a template where i have selected the Summary on a new page in the Report properties, so in the PDF summary is coming on the new page but header & footer are not displayed. can anybody suggest why is it so.Thanks,Sateesh Link to comment Share on other sites More sharing options...
C-Box Posted December 9, 2008 Share Posted December 9, 2008 It is as it is... so the engine works by design.The summary is thought to show final data e.g. a chart or something like that. So no PageHeader or Footer is drawn when it's a extra page. (IMHO) So if you want to have pageheader and footer you could create a so called "dummygroup" without any expression where you place your elements in "dummygroupfooterband" instead of summary. So this is also the last band but shows pageheader and footer. If you want a pagebreak between, you could add a pagebreak element at y=0. hthC-Box Link to comment Share on other sites More sharing options...
sateesh139 Posted December 10, 2008 Author Share Posted December 10, 2008 Thanks by the way i know how to create the group but i don't know how to create a dummygroup can u help me on this........... Thanks, Sateesh Link to comment Share on other sites More sharing options...
C-Box Posted December 10, 2008 Share Posted December 10, 2008 Hi, a so called "dummygroup" is nothing else than a normal group but without any expression (that's why "dummy") so it will just appear once. hthC-Box Link to comment Share on other sites More sharing options...
sateesh139 Posted December 10, 2008 Author Share Posted December 10, 2008 Thanx i have did it but i am getting column header in that how to hide that one..... Thanks, Sateesh Link to comment Share on other sites More sharing options...
sateesh139 Posted December 10, 2008 Author Share Posted December 10, 2008 C-Box, any idea how to find out the lastpage in the report.......... Thanks, Sateesh Link to comment Share on other sites More sharing options...
C-Box Posted December 10, 2008 Share Posted December 10, 2008 Well this is quite difficult, but possible. take a look here:http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=46357 I made some samples and also a demo JRXML to understand the "trick 17" :-) hthC-Box Link to comment Share on other sites More sharing options...
byron.ullauri Posted January 26, 2018 Share Posted January 26, 2018 To anyone looking for this, https://stackoverflow.com/questions/3966947/jasper-report-header-not-printed-on-summary-pageBy default, the page header does not apply to the summary band.Since Jasper 3.6.1, there is a report property that can be used to force the summary band also to have page header, called 'Summary with Page header and footer'. You should check it in iReport, or set isSummaryWithPageHeaderAndFooter="true" in the jasperReport tag. 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