Example of Advanced Exporting in ASP.NET MVC Gantt Chart Control
This sample demonstrates the advanced PDF export features of the Gantt Chart, allowing customization of various elements such as headers, footers, task labels, event markers, holidays, and taskbars. These customizations can be configured using the PdfExportProperties and pdfQueryTaskbarInfo event.
DEMO
SOURCE
In this sample, the Gantt Chart's PDF export functionality is enhanced with various customization options:
- Custom Headers and Footers: The headers and footers in the exported PDF can be customized using the header and footer properties,which allowing us to include relevant information of exported PDF.
- Taskbar and Task Label Styling:Taskbar and Task Label appearance can be customized in the exported PDF using the pdfQueryTaskbarInfoEvent.
- Event marker and holiday:Event marker and holiday can be cusotmized in exported PDF using ganttstyle in PdfExportProperties.
- Fit-to-Width Support: This feature allows the Gantt component's rows to be auto-fitted to the width of the PDF document's page using the fitToWidthSettings in PdfExportProperties.
More information about advanced PDF exporting features in Gantt can be found in the documentation section.