); }
  • Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.

Example of Exporting in ASP.NET MVC Gantt Chart Control

This sample demonstrates client-side exporting of the Gantt, which allows you to export Gantt data to Excel, PDF and CSV formats. Using the Gantt toolbar buttons, you can export Gantt data to the desired format.


Gantt supports client-side exporting, which allows you to export its data to the Excel, PDF and CSV formats.

In this demo, we have defined actions in the toolbarClick event to export the Gantt data using the excelExport, pdfExport and csvExport methods.

In addition we have provided support to export the Gantt component where each rows are auto-fit to the PDF document page width using fitToWidthSettings in PdfExportProperties