Home DevShare Designing BIRT Reports

Group conditional page break

Share

by JasonW

DevShare - 100 postsForum - 2,000 postsCommunity Advisor
Posted 04 Nov 2010 - 08:17 AM

(0)  (0)   (577 views)

By downloading this item, you are agreeing to the Terms of Use for the site.

Example to conditionally do a page break on a group

Birt Version:-2.6

This example uses an oncreate script on the group to determine whether to do a page break or not.  To get to the script select the group in the outline view and then click the script tab in report editor.  The script looks like:

if( this.getRowData().getColumnValue("ORDERNUMBER") == 10104 ){
this.getStyle().pageBreakBefore = "always";
}

Download (3.11 KB)

By downloading this item, you are agreeing to the Terms of Use for the site.


 
Filter More