DevExtreme v23.1 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

Export to PDF

DevExtreme JavaScript Gantt component allows you to export the contents of your Gantt to PDF. This demo allows you to apply the following built-in export and task filter options:

Export Options

Document format - Specifies document size.

Landscape orientation – Renders the PDF horizontally.

Export mode - Specifies Gantt regions to include within the exported document (chart area, tree list area, or the entire component).

Task Filter Options

Date range - Restricts data output against a specified date range.

Start task (index) – Restricts data output against the start task's index within an index range.

End task (index) – Restricts data output against the end task's index within an index range.

Start date (task)- Restricts data output by start date.

End date (task) – Restricts data output by end date.

Click the “Export” toolbar item to call the exportGantt(options) method (exports Gantt data with specified export options).

To enable PDF export operations, you must reference or import the following:

  • jsPDF
    A library that creates and manages PDF documents.

  • jsPDF-AutoTable
    A plugin that creates and manages tables in PDF documents.

Thank you for your interest in our ASP.NET Core product libraries and UI component suite. We are moving ASP.NET Core-related demos and content to Please make sure to update your bookmarks with our new URL.

View Demo