Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5102 Visualizzazioni

I want to the break the page at particular location in RML report

in my report i have two tables and i want to display each table on new page.

(the no of lines in each table are not fixed) thats why I want to break the page after ending of first table .so that 2nd table will start on new page. plz tell me how to achieve this.. Thanks

Avatar
Abbandona
Risposta migliore

Try conditional page break for RML report... I think it may help you...
 

The <condPageBreak/> is a "CONDitional Page Break". To use it, you give it a height in any units that RML can handle. It then compares this height with the remaining available space on a page. If the space is sufficient, then the next elements are placed on the current page, but if there is less space than the height you have given it anything following the <condPageBreak/> tag is continued on the next page.


<condPageBreak/> has only one attribute - the mandatory one of height.

<condPageBreak height="1in"/>
<condPageBreak height="72"/>

Avatar
Abbandona