Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Controlling Page Breaks via Paramteres in Data Sets
Vivek
Hi,
I am new with Birt Reports. What i am tring to achieve is a controlled manner of Page Breaks in Birt Table for each page
Providing Parameters via Data Set
I have done the following in the onPrepare event of table.
tableContext = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("test_table");
var val=row["count"];
tableContext.setPageBreakInterval(val);
But this give me an error.
Can some one please suggest How can i achieve this ?
Thanks,
Vivek
Find more posts tagged with
Comments
mwilliams
Hi Vivek,
Is the value that you want for your page break interval passed in in the dataset?
Regards,
Michael
Vivek
Hi Michael,
The value is passed in the dataset and it appers in the report
Thanks,
Vivek
shahamar
Vivek,
what is the error that u r getting?
raghu85
<blockquote class='ipsBlockquote' data-author="'shahamar'" data-cid="33911" data-time="1214243044" data-date="23 June 2008 - 10:44 AM"><p>
Vivek,<br />
<br />
<br />
what is the error that u r getting?<br /></p></blockquote>
same problem for me but am trying to set the page break from another dataset (i.e) assign value to a global variable in that dataset's onFetch method and then set page break using that variable the problem am facing is that when i initialze a defualt value for the pagebreak takes effect but if i assign row value to the variable it doesn't affect in the table page break any idea for solving this??