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.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|