您的位置:首页 > 编程语言 > ASP

jasperReport分栏报表制作---Horizontal

2013-01-18 11:40 459 查看
jasperReport提供的demo中有关于horizontal的使用,

告诉大家怎么分多列显示数据,

并且通过group进行汇总,

但是只看报表文件不容易理解,我查询了相关资料,

以下是一个帖子的回复:

Based on your above comment, I would say that it is not that difficult to print a list of elements horizontally. A List component is basically a
subreport. So, you could also create a custom List component, which prints a list of elements horizontally. All you need is to create a new report without any margins, set it's "Print
Order" to "Horizontal"
and set the number of columns as
per your requirements. You could then embed this report as subreport in some main report and print elements horizontally.

设置报表的Print Order:Horizontal(横向)

列数:columns 就可以了,这些属性都是报表的属性
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: