原创文章,转载请注明出处:http://qq85609655.iteye.com/blog/2223763
最近研究pentaho的报表,Pentaho Report Designer,多个子报表,页脚显示页码遇到点情况。
网上找资料,最终还是在pentaho的官方找到。
http://jira.pentaho.com/browse/PRD-2933
Main Report has 15 pages of data
Sub Report 1 has 5 pages of data
Sub Report 2 has 10 pages of data
Sub Reports are set in the Report Footer as Banded
子报表1 显示1到5页
子报表2 显示1到10页
现在需要连贯显示页码 那么子报表2显示的是 6到15页
解决方式如下:
Passes. On the reports, I needed to set the sticky=true under the style page-behavior section.
在Main Report设置,页头和页尾,Sub Report不设置。
本文详细介绍了如何在Pentaho报表设计中解决多个子报表连续页码显示的问题,通过设置报告行为部分的sticky属性来实现子报表页码的连续显示。

被折叠的 条评论
为什么被折叠?



