2012.12.20

ireport 子报表中使用父报表中的集合参数,subreport的data source expression 为 new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{list}),list在java后台封装,放入map元素,子报表的fields中配置map的key即可。

你可能感兴趣的:(2012.12.20)