I want "continue..." text when sub report will overflow to new page -


i think, should feature, when subreport detail band overflow next page, "...continued" or should came, can't able solve issue , have tried find out, if there solution, nothing works..

can 1 have better idea, how solution?

the "normal" way is:

in subreport put text in detail band (if not there already), if text without datasource (just pass new net.sf.jasperreports.engine.jremptydatasource(1) subreport detail band displayed one.

having text in detail band allows use pagefooter band, note title band , summary band overflows on new page without pagefooter. can use summary band need set attribute issummarywithpageheaderandfooter="true" on jasperreport tag.

in subreport add pagefooterband text

es.

<pagefooter>     <band height="50">         <statictext>             <reportelement x="446" y="18" width="100" height="20" uuid="efa2e741-c546-4261-bdb7-a4b211212f17"/>             <text><![cdata[...continued]]></text>         </statictext>     </band> </pagefooter> 

this display text "...continued" on every subreport page, since avoid on last page add empty lastpagefooter

<lastpagefooter>     <band height="50"/> </lastpagefooter> 

Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -