Skip to content

DevExpress-Examples/winforms-dashboard-pivot-custom-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for WinForms - How to Export the Customized Pivot Grid Item

The example shows how to customize the Pivot Grid dashboard item in the exported document when you handle the DashboardDesigner.CustomExport event.

Example Overview

This example contains several Pivot Grid items with different customization settings. The e.GetPrintableControl obtains the XRPivotGrid printable controls, and allows you to apply different customization settings for each item.

Example Overview

Remove Specified Columns and Rows

The CustomFieldValueCells event removes the "Kirkland" row and "1" and "3" quarter columns by names in the PivotCustomFieldValueCells event handler.

Remove Specified Columns and Rows

Rename Columns

The FieldValueDisplayText event changes the display text in the quarter columns of the OrderDate field in the PivotFieldValueDisplayText event handler.

Rename Columns

Remove Rows by Value

The CustomFieldValueCells event removes all rows whose grand total value is less than 200 in the PivotCustomFieldValueCellsVals event handler.

Remove Rows by Value

Resize Columns and Rows

The CustomColumnWidth event sets the width of the "2" quarter column in the exported document in the PivotCustomColumnWidth event handler. The CustomRowHeight event sets the height of the "London" row in the exported document in the PivotCustomRowHeight event handler.

Resize Columns and Rows

Change Row Appearance

The PrintFieldValue event customizes the appearance of the "Seattle" row in the PivotPrintFieldValue event handler.

Change Row Appearance

Customize Grand Totals

The CustomFieldValueCells event changes the Grand Total column position to near in the PivotCustomFieldValueCellsResults event handler. The ShowRowGrandTotals property that is set to false hides the Grand Total row.

Customize Grand Totals

Files to Review

Documentation

More Examples

About

The example shows how to customize the Pivot Grid dashboard item in the exported document when you handle the `DashboardDesigner.CustomExport` event.

Topics

Resources

License

Stars

Watchers

Forks