English 中文(简体)
动态颜色[复制]
原标题:Dynamic Columns [duplicate]

我需要编写一份报告,根据即将通过的数据对一栏进行改动,报告仅作次报告。 是否有办法这样做?

问题回答

我同意伊斯钦的答复,但我将阐述。

跨表格报告将使你能够有动态的栏目,因为它使你能够利用你的数据。 你们可以选择一个或多个领域,以建立一栏。 这些集团的数值成为各栏的标签,因此,你必须利用“措施”报告中的数值(如总和或计值)的合计功能。 如果你选择一个以上的领域,你将拥有多个层次的栏目。 在你设计报告时,你选择一栏的大小,其大小必须相同。

JasperReports是一种产品,目的是像人民抵抗力量一样,在纸面上制造一些东西。 i 报告至少为5.1.0本,没有其他办法真正动态地建立栏目。 你可以按照逻辑写出,显示或隐藏基于参数的栏目,但这会非常虚伪,不符合Jasper报告的设计。 例如,很难允许用户管理报告,以选择使用户能够控制报告中的栏目和各栏的位置。





相关问题
Using a POJO as an iReport data source

I have a POJO that compiles data from various sources into a single object. The object is instantiated with a single parameter. Example: Invoice inv=new Invoice(1239); This will bring back a ...

Problem with auto page break in iReport

I m using iReport 3.7. I have a report with two subreports (order details and some selling statistics), and a grouping by seller. One subreport is located in the Detail band of the group, and the ...

How to truncate data (avoiding page break) in iReport?

I have a listing that must fit in a page. Instead of the default page break behaviour, I need iReport to truncate the listing when it goes over the page size. Any ideas? Thanks! EDIT: I ve had ...

How to prevent duplication of bar chart in iReport

I ve tried to use chart in iReport for the first time. I ve used a bar chart and anytime I preview the chart I see plenty of them, iIthink about 6. I only need a single one is there anything that I ...

Field Expression in iReport

I m trying to get myself used to iReport before using it in a real project next week and i seem to be stacked somewhere already. I m using iReport 3.7.0 on Windows XP platform + Java 1.6 It sound ...

热门标签