2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
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.
Screenshot
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.
Screenshot
Interfaces Implementation
Platform Specific Interface Implementation Android
IOS
UWP
Sample Link How to customizing the cell value while exporting the SfDatagrid to PDF and Excel
|
2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.