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)
Dynamic Page Break??
AbhayTech
Hi,
I am working on BIRT 2.2 while creating a report i need page break after 20-30 rows ,i wrote down script for it which is working fine in BIRT 2.3 but not working in BIRT 2.2 ,I think i am missing something .
In the report I have used 3-4 groups.I am not able to give page break by couting total no of rows ,i dont want to give page break after Groups ,page break should be on number of rows.
Can any one help me to sort out this problem??
Thanks !!!!!
Find more posts tagged with
Comments
mwilliams
Hi AbhayTech,
You can set an interval for your page break on the table by selecting the table, going to the page break tab of the property editor and specifying a page break interval.
Hope this helps.
bigtruck
I'm chasing some similar functionality.
Right now I'm running BIRT 2.3.0 and won't be upgrading to 2.5 anytime in the near future.
I need to somehow detect that a certain number of lines have been rendered, and trigger a page break.
I've read that dynamically triggering a page break is not possible (at least in 2.3 it's not), but does anyone have any other suggestions to get around this issue?
Thanks
mwilliams
Hi bigtruck,
Does setting the page break interval on the page break tab of the property editor for the table not help?
bigtruck
Well, if you've got a table group on the table, and each group section is separated by some kind of header/footer information, then you've got extra rows being printed for each group section. So if I set the page break interval to 20 lines, I could potentially end up with 60 lines printing on one page (this is in HTML mode) before a break occurs. ie
group header
detail
group footer
group header
detail
group footer
It seems the page break interval only counts a detail line as a line, and not any other line types.
mwilliams
bigtruck,<br />
<br />
I see what you mean. At this moment, I can't think of any way around it. You may log something about this for an enhancement request to allow inclusion of header and footer rows into the count. You can request enhancements at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a>.<br />
<br />
If I think of any workarounds, I'll be sure to post it in here.
bigtruck
OK, Thanks
bigtruck
I have logged an enhancement request for this here:<br />
<a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=281112'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=281112</a>
;
SergioX
I solved this problem by myself aggregating data into a grid object (see palette). Now the large dynamic text doesn't begin at the next page.
Regards.