youseries / ureport

UReport2 is a high-performance pure Java report engine based on Spring architecture, where complex Chinese-style statements and reports can be prepared by iterating over cells.
Apache License 2.0
2.05k stars 836 forks source link

表头信息重复打印问题 #523

Closed 1125068334 closed 4 years ago

1125068334 commented 4 years ago

为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。

需求要把 表头信息(固定值) + 动态分组字段信息 + 标题行,每页重复打印,我把这三个内容都设为重复表头,第一页可以正常显示,第二页开始标题内容缺失,请问应该怎么处理?

1125068334 commented 4 years ago

image 问题已解决,提供下思路希望能对后来者一些帮助。 G2 值为分组字段, 把 C1,A3,A4的父格都设为G2,。 行1,2,3设为重复表头。

效果如下: image