TdxSpreadSheetReportDesigner.SetGroupHeaderSection(TRect,Integer) Method
Adds the common header section for grouped dataset records.
Declaration
procedure SetGroupHeaderSection(const ABounds: TRect; ALevel: Integer);
Parameters
Name | Type |
---|---|
ABounds | TRect |
ALevel | Integer |
Remarks
Call this procedure to create a new or redefine an existing group header section at the detail level passed as the ALevel parameter. The resulting group header occupies a cell range whose size (in cells) and position within the report template are passed as the ABounds parameter. The resulting group header must be within the boundaries of the detail section that has the same level.
The group header precedes the first dataset record in each data group on the corresponding detail level:
To allow end-users to define group header template sections, link the GroupHeaderSection command to an element of your UI.
Note
To define a data group footer section in the report template, call the SetGroupFooterSection procedure.