JasperReport 打印一行多条记录

发布于 2025-01-04 14:29:55 字数 139 浏览 2 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吾性傲以野 2025-01-11 14:29:55

将报表的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文