Back to Devexpress

TdxSpreadSheetReportDesigner.SetGroupHeaderSection(TRect,Integer) Method

vcl-dxspreadsheetreportdesigner-dot-tdxspreadsheetreportdesigner-dot-setgroupheadersection-x28-system-dot-types-dot-trect-system-dot-integer-x29.md

latest2.6 KB
Original Source

TdxSpreadSheetReportDesigner.SetGroupHeaderSection(TRect,Integer) Method

Adds the common header section for grouped dataset records.

Declaration

delphi
procedure SetGroupHeaderSection(const ABounds: TRect; ALevel: Integer);

Parameters

NameType
ABoundsTRect
ALevelInteger

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.

See Also

TdxSpreadSheetReportDesigner.RemoveSection

TdxSpreadSheetReportDesigner.SetDetailSection

TdxSpreadSheetReportDesigner.SetFooterSection

TdxSpreadSheetReportDesigner.SetHeaderSection

TdxSpreadSheetReportDesigner Class

TdxSpreadSheetReportDesigner Members

dxSpreadSheetReportDesigner Unit