JasperReport 打印一行多条记录
我正在使用 JasperReport 和 iReport。 我想创建一个每页有 8 条记录的页面,采用 2x4 布局(列 x 行)。 我使用子报告来使用它,并让每个子报告相应地跳到下一条记录,我认为这是愚蠢的,可以用更好的方式来完成。 以前有人有过经验吗? 谢谢
I'm using JasperReport and iReport.
I want to create a page that has 8 records per page, in 2x4 layout (col x row).
I'm using it using subreport and have each subreport to skip to next record accordingly, which I think is stupid and could be done in a better way.
Anyone has experience before?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将报表的 columns 属性设置为 2。它将把可用宽度减半,并自动将数据放入 2 列中。
Set the columns property for the report to 2. It will cut your available width in half, and it will automatically put the data into 2 columns.