Skip to main content
Tab

ASPxGridViewExportSettings Properties

Contains the export settings to be applied when the GridView’s data is exported.
Name Description
BottomMargin

Gets or sets the target document’s bottom margin. This property is not in effect when exporting to XLX or XLSX.

DetailHorizontalOffset Gets or sets the detail row’s horizontal offset.
DetailVerticalOffset Gets or sets the detail row’s vertical offset.
EnableClientSideExportAPI Gets or sets a value specifying whether the client exporting API is enabled. Inherited from ASPxGridExportSettings.
ExcelExportMode Specifies the export mode when saving grid data to XLS and XLSX formats.
ExportEmptyDetailGrid Gets or sets a value indicating whether it’s necessary to export a detail grid, when it is empty.
ExportSelectedRowsOnly Specifies if only selected rows should be exported.
FileName Specifies the name of the exported file.
Landscape Gets or sets whether data is exported in Landscape. Setting this property to true is not in effect when exporting to XLX or XLSX.
LeftMargin

Gets or sets the target document’s left margin. This property is not in effect when exporting to XLX or XLSX.

MaxColumnWidth Gets or sets the column’s maximum width.
PageFooter Gets the page footer’s settings.
PageHeader Gets the page header’s settings.
PaperKind Gets or sets the type of paper for the exported report.
PaperName Gets or sets the name of the custom paper which is used for export purposes.
PreserveGroupRowStates Gets or sets whether the expanded state of group rows is preserved when the ASPxGridView’s data is exported.
PrintSelectCheckBox Gets or sets whether check boxes (or radio buttons) used to select/deselect data rows, are printed.
ReportFooter Specifies the text displayed within a report’s footer.
ReportHeader Specifies the text displayed within a report’s header.
RightMargin

Gets or sets the target document’s right margin. This property is not in effect when exporting to XLX or XLSX.

RightToLeft Specifies whether to apply right-to-left representation to the control. Inherited from ASPxGridExportSettings.
SplitDataCellAcrossPages Gets or sets whether data cells are allowed to be split across pages when exporting.
TopMargin

Gets or sets the target document’s top margin. This property is not in effect when exporting to XLX or XLSX.

See Also