Subreport
The Subreport element allows the ability to generate nested reports. It can only be added to the Detail section of the Report. More than one Subreports can be added to the detail of the report.
In order to add a Subreport, select the Subreport element under the Toolbox, drag and drop it at the desired location on the page. All sections of the Subreport can be resized using the mouse, manually changing the values in the properties window or by changing the values directly in the source.
Properties
The Subreport element has the following properties:
| Properties | Description |
|---|---|
| DetailHeight | A value indicating the height of the Subreport detail. |
| HeaderHeight | A value indicating the height of the Subreport header. |
| FooterHeight | A value indicating the height of the Subreport footer. |
| Id | A value indicating the programmatic identifier of the Subreport. |
| ColumnLayout | A value indicating how the data in the columns will be laid out. |
| ColumnSpacing | A value indicating the amount of space between columns. |
| Columns | A value indicating the number of columns the Subreport will have. |
| DataName | The name of the data that the subreport will be based on. If the data is a single object (or record), the detail section will only be displayed once. If it is a list or collection, the detail section will be displayed once for each object in the list. |
| Height | A value indicating the height of the Subreport. |
| RowSpacing | A value indicating the amount of space between consecutive rows in the Subreport. |
| Width | A value indicating the width of the Subreport. |
| X | A value indicating the X coordinate of the Subreport. |
| Y | A value indicating the Y coordinate of the Subreport. |