SfDataGrid provides support for exporting the data to PDF with header and footer. You can export the data to PDF by using the ExportToPdf method by passing the SfDataGrid as an argument. You can create the header and footer in the HeaderAndFooterExporting event using the PdfDocumentTemplate property from the event arugment.
The below code illustrates how to hook the HeaderAndFooterExporting event and create header and footer for the exported PDF document.
This page will automatically be redirected to the sign-in page in 10 seconds.