开发者

Getting to a single section in JasperReports

开发者 https://www.devze.com 2023-03-25 10:59 出处:网络
Is it possible to display only a single section of reporu in JasperReports? I would like on one of the pages show only 开发者_高级运维a section .Yes, it is possible, but it depends on which sections y

Is it possible to display only a single section of reporu in JasperReports? I would like on one of the pages show only 开发者_高级运维a section .


Yes, it is possible, but it depends on which sections you are going for (perhaps indicated by a certain parameter for part of the data from the database). You can use the Group feature.

This is a good example of breaking a report into sections:

http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/samples/DataSourceReport.html (see more examples)

You may display a section by querying the database with the specific entries you want by having your jrxml file expect a parameter in the query (The above example doesn't show it, but you can specify in your query to find entries with "Dallas").

0

精彩评论

暂无评论...
验证码 换一张
取 消