Enables you to render a different content for individual field headers, if the PivotGrid is exported in the WYSIWYG mode.
public event EventHandler<WebCustomExportHeaderEventArgs> CustomExportHeader
Public Event CustomExportHeader As EventHandler(Of WebCustomExportHeaderEventArgs)
The CustomExportHeader event handler receives an argument of the WebCustomExportHeaderEventArgs type.
The following properties provide information specific to this event.
The CustomExportHeader event is raised for each field when the ASPxPivotGrid is exported. You can handle this event to change the field header's appearance and contents in a printed document.
Field properties cannot be changed in the CustomExportHeader event handler.
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.