We can customize a particular cell value while exporting the SfDataGrid to Excel and PDF by handling DataGridPdfExportingController.CellExporting event.
Export to PDF
The below code helps to customize a cell value while exporting the SfDataGrid to PDF. DependencyService.Get<ISave>() and DependencyService.Get<ISaveWindowsPhone> are interfaces that help you to save the exported grid in various platform projects.
Export to Excel
The below code helps to customize a cell value while exporting the SfDataGrid to Excel. Like PDF exporting, we should add the interfaces implementation for excel exporting also.
Platform Specific Interface Implementation
This page will automatically be redirected to the sign-in page in 10 seconds.