Requirements
PROJECT DESCRIPTION
Pivot Grid with templates in view (browser) mode:
Pivot Grid content when exported to Excel:
This sample demonstrates how you can export RadPivotGrid to Excel with templates. By default, the pivot grid does not take into account the content of the templates when exporting. By implementing these points, however, this can be possible:
1. Bind the template controls programmatically using their DataBinding event handler.
2. Use the PivotGridCellExporting event to access the controls just before exporting and set the value manually to the cell.
3. Exporting to XLSX requires the
Telerik document processing libraries as described in the
XLSX and DOCX formats article.