我正在使用 bean 对象作为数据源。数据源包含几个属性——其中一个是我尝试使用的行项目列表。按 bean 看起来像这样:
String name;
String address;
List<DetailRecord> records;
I want to have the records show up as the detail lines int the report. I know I need to setup a sub-report, but I'm not sure how to set the sub-report to use the records element of the current parent data item as the datasource.