Previous TopicNext Topic


TableGroup

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.

Extends

DesignElement->ListingGroup

Property summary

None

Method summary

onPrepare

Inherited properties

customXML, groupName, interval, intervalRange, keyExpr, sortDirection, toc, userProperties

Slot summary

Inherited methods

onStart, onRow, onFinish

TableGroup slots

The following sections describe the slots of the TableGroup element.

header

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.

footer

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.


(c) Copyright Actuate Corporation 2006

Previous TopicNext Topic