如何在 iReports 中获取设计
我想要 iReports 中的以下设计,其中列是根据公式动态生成的。 这怎么能做到呢?请建议。
I want the below design in iReports where column is generated dynamically based on a formula.
How can this be done? Please suggest.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用
列表组件
来实现此目的。You can use
list component
to achieve this.我建议您使用
crosstab
组件。交叉表允许您设置用于打印列的数据源。
问题是,我不知道(也许不可能)动态调整列。如果列数大小不同,您的报告将不会始终具有相同的布局。
I suggest that you use the
crosstab
component.The crosstab allows you to set a data source for printing the columns.
The problem is, I don't know (and maybe it is not possible) to dynamically adjust the column with. If the number of columns varies in size your report will not have always the same layout.