Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
totals at the end position of the page
Mauro1807
I need to do a purchase order, and I request that the totals appear at the bottom of the page, regardless if the detail has one or 8 lines. Can we do this?
thanks for your help
Mauro.
Find more posts tagged with
Comments
mwilliams
Could you add them to the masterpage footer using a page variable? If you need it to be in your group or table footer and your lines are fixed height, you can add extra footer rows and hide the ones you don't need based on the number of rows in the table/group.
Mauro1807
thanks for replying. rows are variables. in this same forum I saw a script for the footer appear only on the last page, but not working. Then the script:
if (pageNumber <TotalPages) {
this.getStyle (). display = "none"
}
why not work? this would solve my problem
mwilliams
What is your BIRT version? The script should be:
if (pageNumber < totalPage){
this.getStyle().display = "none";
}
and it should be in the onRender for the element in your masterpage. If this doesn't work for you, there is probably a bug in the version you're using.
Mauro1807
I did as I said, but did not work.
my version is:
<report xmlns="
http://www.eclipse.org/birt/2005/design"
; version="3.2.17" id="1">
<property name="createdBy">Eclipse BIRT Designer name="createdBy"> <property 2.3.2.r232_20090202 Version Build <2.3.2.v20090218-0730> </ property>
Regards,
Mauro.
mwilliams
It works for me in 2.3.2. What output are you using?
Whichever one you are, try using the web viewer then exporting to PDF or whatever.
Mauro1807
I am using PDF as output.
I did what you said, but does not work, you still see the footer in the 2-page report. I will continue looking for a solution, thanks for your help.
mwilliams
Can you reproduce the issue with the sample database so I can run it? Thanks!
Mauro1807
here is a report example, if I print directly to PDF I get the footer on every page.
mwilliams
If you set a page break interval on your table so that a page break is called, it'll work. A page interval of 0 works with this in the newest version, 3.7, if you can upgrade.
Mauro1807
OK Michael. Thank you very much for your help.