Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public EventHandler<WebCustomExportHeaderEventArgs> CustomExportHeader { get; set; }

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