Back to Devexpress

PivotXlsExportOptions Class

aspnet-devexpress-dot-web-dot-aspxpivotgrid-64321e8e.md

latest2.9 KB
Original Source

PivotXlsExportOptions Class

Contains options that define how a Pivot Grid control is exported to XLS format in the data-aware export mode.

Namespace : DevExpress.Web.ASPxPivotGrid

Assembly : DevExpress.Web.ASPxPivotGrid.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class PivotXlsExportOptions :
    PivotXlsExportOptionsBase
vb
Public Class PivotXlsExportOptions
    Inherits PivotXlsExportOptionsBase

Remarks

To set custom formatting of the exported cells, you can raise the PivotXlsExportOptions.CustomizeCell event. This event is raised before a data cell is exported to the Excel document. Use the CustomizePivotCellEventArgs.RowType and CustomizePivotCellEventArgs.ColumnType parameters to identify a row and column containing the cell. To specify the cell location in the exported Excel document, use the CustomizePivotCellEventArgs.ExportArea property. To customize the cell format, use the CustomizePivotCellEventArgs.Formatting property.

Note

Set the CustomizePivotCellEventArgs.Handled parameter to true to export cells with custom formatting.

Implements

ICloneable

DevExpress.Utils.Serializing.Helpers.IXtraSupportShouldSerialize

DevExpress.PivotGrid.Export.IPivotGridExportOptions

DevExpress.Export.IDataAwareExportOptions

Inheritance

Object ExportOptionsBase PageByPageExportOptionsBase XlExportOptionsBase XlsExportOptions XlsExportOptionsEx PivotXlsExportOptionsBase PivotXlsExportOptions

See Also

PivotXlsExportOptions Members

DevExpress.Web.ASPxPivotGrid Namespace