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

TdxSpreadSheetReportMode Enum

Enumerates available spreadsheet report building modes.

#Declaration

Delphi
TdxSpreadSheetReportMode = (
    rmSingleSheet,
    rmMultipleSheets,
    rmMultipleDocuments
);

#Members

Name
rmSingleSheet
rmMultipleSheets
rmMultipleDocuments

#Remarks

Options include:

Value

Description

Command

rmSingleSheet

The report is always built on a single worksheet of the destination Spreadsheet control, regardless of the bound source data.

SingleSheetReportMode

rmMultipleSheets

Each master record followed by the corresponding detail table is built on a new worksheet within the single destination Spreadsheet. If the resulting report contains grouped records from a single bound dataset, each new group is built on a new worksheet of the destination Spreadsheet.

In the case of simple reports (i.e., without the master-detail relationship between bound datasets or grouped dataset records) this setting is equivalent to rmSingleSheet.

MultipleSheetsReportMode

rmMultipleDocuments

In this mode, the Report Designer raises the OnNewDocument event for each new master record (or a dataset record group in the case of a single bound dataset) following the first, allowing you to specify a new destination Spreadsheet control. The resulting report is built on multiple spreadsheet documents containing a single sheet.

In the case of simple reports (i.e., without the master-detail relationship between bound datasets or grouped dataset records) this setting is equivalent to rmSingleSheet.

MultipleDocumentsReportMode

The TdxSpreadSheetReportMode type is referenced by the Report Designer‘s Options.ReportMode property.

See Also