PivotXlsExportOptions.CustomizeCell Event

Allows you to customize a PivotGrid's cell in the exported XLS document.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public event CustomizePivotCellEventHandler CustomizeCell
Public Event CustomizeCell As CustomizePivotCellEventHandler

Remarks

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.

NOTE

To customize a PivotGrid's cell during the export in WYSIWYG mode, use the PivotGridControl.CustomExportFieldValue and PivotGridControl.CustomExportCell events.

See Also