Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetReportDesigner.SetHeaderSection(TRect) Method

Adds the common header section to the displayed report template.

#Declaration

Delphi
procedure SetHeaderSection(const ABounds: TRect);

#Parameters

Name Type
ABounds TRect

#Remarks

Call this procedure to create new or redefine an existing common header section in the displayed report template. The header section occupies a cell range whose dimensions (in cells) and position within the report template are passed as the ABounds parameter. The resulting header is common to all the data in the built report.

If the entire report content fits into a single worksheet, the header serves as the report beginning, preceding the first detail section:

Otherwise, the header is placed at the beginning of each worksheet or spreadsheet document constituting the report:

To allow end-users to define the common header template section, link the HeaderSection command to an element of your UI.

Note

To define a header for grouped dataset records, call the SetGroupHeaderSection procedure.

See Also