Example of Advanced Exporting in ASP.NET MVC Gantt Chart Control

Gantt Chart
Exporting
Advanced Exporting

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.

1
Project initiation
Apr 02, 2025Apr 08, 202530
2
Identify Site location
Apr 02, 2025Apr 02, 202530
3
Perform soil test
Apr 02, 2025Apr 08, 202530
4
Soil test approval
Apr 08, 2025Apr 08, 202530
5
Project estimation
Apr 09, 2025Apr 16, 202530
6
Develop floor plan for estimation
Apr 09, 2025Apr 11, 202530
7
List materials
Apr 14, 2025Apr 16, 202530
8
Estimation approval
Apr 16, 2025Apr 16, 20250
9
Sign contract
Apr 17, 2025Apr 17, 202530
10
Project approval and kick off
Apr 17, 2025Apr 17, 20250
11
Site work
Apr 18, 2025Apr 21, 202530
12
Clear the building site
Apr 18, 2025Apr 21, 202530
13
Install temporary power service
Apr 18, 2025Apr 21, 202530
14
Foundation
Apr 07, 2025May 05, 202523
15
Excavate for foundations
Apr 07, 2025Apr 09, 202530
16
Dig footer
Apr 07, 2025Apr 08, 20250
17
Install plumbing grounds
Apr 22, 2025Apr 25, 202530
18
Pour a foundation and footer with concrete
Apr 28, 2025Apr 28, 20250
19
Cure basement walls
Apr 29, 2025May 05, 202530
20
Framing
May 06, 2025May 21, 202520
21
Add load-bearing structure
May 06, 2025May 08, 202530
22
Install floor joists
May 09, 2025May 13, 20250
23
Add ceiling joists
May 09, 2025May 13, 202530
24
Install subfloor panels
May 14, 2025May 16, 20250
25
Frame floor walls
May 19, 2025May 21, 202530
26
Frame floor decking
May 19, 2025May 21, 202530
27
Exterior finishing
Apr 07, 2025Apr 14, 202515
28
Cover outer walls and roof in OSB
Apr 07, 2025Apr 09, 202530
29
Add water resistive barrier
Apr 10, 2025Apr 14, 20250
Local Holiday
Good Friday
Release Holiday
Project initiation
Identify Site location
Martin Tamer
Perform soil test
Rose Fuller
Soil test approval
Project estimation
Develop floor plan for estimation
Fuller King
Custom Label
Fuller King
Estimation approval
Rose Fuller
Sign contract
Rose Fuller
Project approval and kick off
Site work
Clear the building site
Martin Tamer
Install temporary power service
Martin Tamer
Foundation
Excavate for foundations
Jack Davolio
Dig footer
Jack Davolio
Install plumbing grounds
Van Jack
Pour a foundation and footer with concrete
Jack Davolio
Cure basement walls
Davolio Fuller
Framing
Add load-bearing structure
Fuller King
Install floor joists
Margaret Buchanan
Add ceiling joists
Davolio Fuller
Install subfloor panels
Jack Davolio
Frame floor walls
Martin Tamer
Frame floor decking
Fuller King
Exterior finishing
Cover outer walls and roof in OSB
Jack Davolio
Add water resistive barrier
Martin Tamer
Research phase
Sales and marketing phase

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 pdfQueryTaskbarInfo event.
  • 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.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab