DevExpress.Win.PivotGrid
26.1.5-pre-26227
Prefix Reserved
dotnet add package DevExpress.Win.PivotGrid --version 26.1.5-pre-26227
NuGet\Install-Package DevExpress.Win.PivotGrid -Version 26.1.5-pre-26227
<PackageReference Include="DevExpress.Win.PivotGrid" Version="26.1.5-pre-26227" />
<PackageVersion Include="DevExpress.Win.PivotGrid" Version="26.1.5-pre-26227" />
<PackageReference Include="DevExpress.Win.PivotGrid" />
paket add DevExpress.Win.PivotGrid --version 26.1.5-pre-26227
#r "nuget: DevExpress.Win.PivotGrid, 26.1.5-pre-26227"
#:package DevExpress.Win.PivotGrid@26.1.5-pre-26227
#addin nuget:?package=DevExpress.Win.PivotGrid&version=26.1.5-pre-26227&prerelease
#tool nuget:?package=DevExpress.Win.PivotGrid&version=26.1.5-pre-26227&prerelease
DevExpress WinForms Pivot Grid
The DevExpress.Win.PivotGrid package includes the DevExpress Pivot Grid control for WinForms applications. Use the PivotGridControl to summarize, organize, and analyze large volumes of data in an Excel-like cross-tabular layout.
The control allows users to rearrange fields, group and filter data, calculate summaries, drill down to underlying records, apply conditional formatting, and export analysis results.
Key Features
- Data Summaries - Calculates totals and summaries such as Sum, Average, Count, Minimum, and Maximum.
- Data Shaping - Supports sorting, grouping, filtering, field reordering, and Top N value analysis.
- Drill-Down - Retrieves the source records used to calculate an individual summary value.
- Conditional Formatting - Highlights important values with appearance rules, color scales, data bars, and icons.
- Data Binding - Connects the Pivot Grid to collections, databases, server-mode sources, Excel files, and OLAP cubes.
- Layout Persistence - Saves and restores field positions, sorting, grouping, filtering, and other layout settings.
- Printing and Export - Prints Pivot Grid data and exports it to PDF, HTML, MHT, RTF, DOCX, TXT, CSV, XLS, and XLSX formats.
Examples
Install the DevExpress.Win.PivotGrid package:
dotnet add package DevExpress.Win.PivotGrid
For .NET projects, additionally install the DevExpress.Win.Design package.
Add the Pivot Grid control from the Toolbox to a WinForms form.
Display and Configure a Pivot Grid
The following example assumes that a PivotGridControl named pivotGridControl1 has already been added to a WinForms form.
using DevExpress.XtraPivotGrid;
using System.Collections.Generic;
using System.Windows.Forms;
public partial class MainForm : Form {
public MainForm() {
InitializeComponent();
pivotGridControl1.DataSource = new List<Sale> {
new("Europe", "Beverages", 1200m),
new("Europe", "Food", 850m),
new("North America", "Beverages", 1500m),
new("North America", "Food", 1100m)
};
pivotGridControl1.Fields.Add(
new PivotGridField(nameof(Sale.Region), PivotArea.RowArea));
pivotGridControl1.Fields.Add(
new PivotGridField(nameof(Sale.Category), PivotArea.ColumnArea));
var salesField = new PivotGridField(
nameof(Sale.Amount),
PivotArea.DataArea) {
Caption = "Sales",
SummaryType = PivotSummaryType.Sum
};
pivotGridControl1.Fields.Add(salesField);
}
}
public record Sale(string Region, string Category, decimal Amount);
Users can drag field headers between the row, column, data, and filter areas to change how the Pivot Grid organizes and summarizes data.
Export Pivot Grid Data to XLSX
The following example exports the current Pivot Grid data and layout to an XLSX file.
using DevExpress.XtraPivotGrid;
private void ExportToXlsx(string filePath) {
var options = new PivotXlsxExportOptions {
ExportType = DevExpress.Export.ExportType.DataAware
};
pivotGridControl1.ExportToXlsx(filePath, options);
}
The data-aware export mode creates an editable Excel document and preserves Pivot Grid data-shaping information where supported.
Always validate and normalize file paths obtained from external or untrusted sources before you use them for export.
Save and Restore the Pivot Grid Layout
The following example saves the Pivot Grid layout to an XML file and restores it later.
private void SaveLayout(string filePath) {
pivotGridControl1.SaveLayoutToXml(filePath);
}
private void RestoreLayout(string filePath) {
pivotGridControl1.RestoreLayoutFromXml(filePath);
}
Assign a unique Name to each Pivot Grid field to ensure that field settings are restored correctly.
Evaluation Period, Pricing Options, and Licensing Terms
Whether you own a license or want to start a 30-day evaluation period, register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free.
For additional registration instructions, see License Key for DevExpress Products.
If you purchase a license after evaluating the product, re-register your updated DevExpress license key to remove evaluation version warnings and messages.
This package is included in the following commercial subscriptions:
- DevExpress WinForms Subscription
- DevExpress DXperience Subscription
- DevExpress Universal Subscription
See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.
Documentation
Software Bill of Materials (SBOM)
To access SBOM files for DevExpress packages, see Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.
See Also: Information Security | Security - What You Need to Know
Useful Online Resources
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows is compatible. net9.0-windows was computed. net10.0-windows was computed. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- DevExpress.Data (= 26.1.5-pre-26227)
- DevExpress.Data.Desktop (= 26.1.5-pre-26227)
- DevExpress.Drawing (= 26.1.5-pre-26227)
- DevExpress.PivotGrid.Core (= 26.1.5-pre-26227)
- DevExpress.Printing.Core (= 26.1.5-pre-26227)
- DevExpress.Utils (= 26.1.5-pre-26227)
- DevExpress.Win.Navigation (= 26.1.5-pre-26227)
-
net8.0-windows
- DevExpress.Data (= 26.1.5-pre-26227)
- DevExpress.Data.Desktop (= 26.1.5-pre-26227)
- DevExpress.Drawing (= 26.1.5-pre-26227)
- DevExpress.PivotGrid.Core (= 26.1.5-pre-26227)
- DevExpress.Printing.Core (= 26.1.5-pre-26227)
- DevExpress.Utils (= 26.1.5-pre-26227)
- DevExpress.Win.Navigation (= 26.1.5-pre-26227)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on DevExpress.Win.PivotGrid:
| Package | Downloads |
|---|---|
|
DevExpress.Win
Target Platform/Framework: Desktop DevExpress Product Libraries Used: WinForms UI components (https://www.devexpress.com/winforms) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win/26.1.5-pre-26227 |
|
|
DevExpress.Win.PivotGrid.de
Target Platform/Framework: Desktop DevExpress Product Libraries Used: WinForms UI components (https://www.devexpress.com/winforms) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win.PivotGrid.de/26.1.5-pre-26227 |
|
|
DevExpress.Win.PivotGrid.es
Target Platform/Framework: Desktop DevExpress Product Libraries Used: WinForms UI components (https://www.devexpress.com/winforms) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win.PivotGrid.es/26.1.5-pre-26227 |
|
|
DevExpress.Win.PivotGrid.ja
Target Platform/Framework: Desktop DevExpress Product Libraries Used: WinForms UI components (https://www.devexpress.com/winforms) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win.PivotGrid.ja/26.1.5-pre-26227 |
|
|
DevExpress.Win.Dashboard
Target Platform/Framework: Desktop DevExpress Product Libraries Used: BI Dashboard (https://www.devexpress.com/dashboard) Available in the following DevExpress Subscription(s): Universal SBOM: https://sbom.devexpress.com/nuget/DevExpress.Win.Dashboard/26.1.5-pre-26227 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.1.5-pre-26227 | 683 | 8/18/2026 |
| 26.1.4 | 7,375 | 8/7/2026 |
| 26.1.4-pre-26200 | 796 | 7/23/2026 |
| 26.1.4-pre-26190 | 843 | 7/14/2026 |
| 26.1.4-pre-26179 | 835 | 7/2/2026 |
| 26.1.3 | 34,899 | 6/18/2026 |
| 25.2.9 | 1,638 | 8/3/2026 |
| 25.2.8 | 19,294 | 6/10/2026 |
| 25.2.7 | 46,466 | 5/6/2026 |
| 25.2.6 | 47,524 | 4/7/2026 |
| 25.2.5 | 75,015 | 3/2/2026 |
| 25.2.4 | 85,773 | 2/3/2026 |
| 25.2.3 | 117,661 | 12/18/2025 |
| 25.1.13 | 1,731 | 7/31/2026 |
| 25.1.12 | 12,714 | 6/10/2026 |
| 25.1.11 | 14,902 | 5/5/2026 |
| 25.1.10 | 30,363 | 4/6/2026 |
| 25.1.9 | 49,304 | 3/2/2026 |
| 25.1.8 | 50,186 | 1/16/2026 |