Back to Devexpress

MVCxPivotGridExportSettings.CustomExportHeader Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxpivotgridexportsettings-32c77bb1.md

latest2.7 KB
Original Source

MVCxPivotGridExportSettings.CustomExportHeader Property

Enables you to render a different content for individual field headers, if the PivotGrid is exported in the WYSIWYG mode.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public EventHandler<WebCustomExportHeaderEventArgs> CustomExportHeader { get; set; }
vb
Public Property CustomExportHeader As EventHandler(Of WebCustomExportHeaderEventArgs)

Property Value

TypeDescription
EventHandler<WebCustomExportHeaderEventArgs>

A delegate method allowing you to implement custom processing.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to CustomExportHeader
PivotGridSettings

.SettingsExport .CustomExportHeader

|

Remarks

The CustomExportHeader event is raised for each field when the PivotGrid is being exported. You can handle this event to change the field header’s appearance and contents in a printed document.

Note

The CustomExportHeader event is not in effect during the export in Data-Aware mode. To customize cells in Data-Aware export mode, use the PivotXlsExportOptions.CustomizeCell and PivotXlsxExportOptions.CustomizeCell events.

See Also

Declaring Server-Side Event Handlers

CustomExportCell

CustomExportFieldValue

MVCxPivotGridExportSettings Class

MVCxPivotGridExportSettings Members

DevExpress.Web.Mvc Namespace