![]() ![]() |
The TableGroup element represents a group break level within a table. A table is often divided into a number of groups. Groups provide a way of showing common headings for a group of related rows. Groups often have subtotals. For example, a sales report might show totals per sales representative and region.
A group is defined by a group key. The key is a column from the query. If the group key is a time field then user often want to group on an interval such as month or quarter.
None
onPrepare
customXML, groupName, interval, intervalRange, keyExpr, sortDirection, toc, userProperties
onStart, onRow, onFinish
The following sections describe the slots of the TableGroup element.
The header band for this group. The header band appears before the first detail row of a group. This band contains any number of table rows. Rows appear sequentially and can be selected conditionally.
Report items within the header slot have visibility to the entire result set. If the header contains a simple element such as a data item, it displays values from the first row of the group. If the header contains a chart, the chart displays rows from the entire group. If the header displays an aggregate, the aggregate is computed over the entire group.
Rows to appear at the bottom of the table. The footer often contains totals. The footer band appears after the last detail row of a group. This band contains any number of table rows. Rows appear sequentially and can be selected conditionally.
Report items within the footer slot have visibility to the entire result set. If the footer contains a simple element such as a data item, it displays values from the first row of the group. If the footer contains a chart, the chart displays rows from the entire group. If the footer displays an aggregate, the aggregate is computed over the entire group.
![]() ![]() |