A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

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

Property Value

Type Description
EventHandler<WebCustomExportHeaderEventArgs>

A delegate method allowing you to implement custom processing.

Property Paths

You can access this nested property as listed below:

Object Type Path 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