当前位置: 代码迷 >> 报表 >> Page Of Pages with Subreports not working
  详细解决方案

Page Of Pages with Subreports not working

热度:430   发布时间:2016-04-29 01:56:43.0
Page Of Pages with Subreports not working.

原创文章,转载请注明出处: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不设置。

  相关解决方案