Skip to content

DevExpress-Examples/winforms-pivotgrid--customize-cells-in-the-exported-excel-document

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivot Grid for WinForms - Сustomize Сells in the Exported Excel Document

The following example shows how to customize cell appearance in the exported document when you export the Pivot Grid to XLSX (or XLS) format. In this example, custom appearance settings (the azure background and italic font) are applied to the cells that correspond to the Pivot Grid's data area.

Pivot Grid

Files to Review

Form1.cs (VB: Form1.vb)

Example Overview

Handle the PivotXlsxExportOptions.CustomizeCell or PivotXlsExportOptions.CustomizeCell event to customize cell appearance in the exported document.

Use the e.ExportArea property to identify the cell location in the exported Excel document. The e.Formatting property sets the cell format.

Documentation

More Examples

WinForms - How to Print a Document that Contains Pivot and Chart Controls

About

The following example shows how to customize cells appearance in the exported document when you export the Pivot Grid to XLSX (or XLS) format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •