Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Page break between sequential Tables
Migrateduser
Hi,
This is about pagebreak between Tables when there is no Data.
I have Two tables (table1,table2)in sequential order.
Each table has its own dataset and input parameters.
In BeforeFactory method, I have this code.
if(params["param_for_table1"].value){
Table2 = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("Table2").setProperty("pageBreakBefore","Always");
}
Scenorio1: When there is data in dataset1 of table1, page break applied correctly.
scenorio2: When there is no data in dataset1 of table1, still page break is applied . An empty page appears.
I am not supposed to show empty page.
That means when Total.count()==0( for table1) then Pagebreakbefore(for table2) must be "Auto".
I tried this in all the methods of Table. None is working.
Please help to find a solution.
Thanks...
Find more posts tagged with
Comments
There are no comments yet