Example of Exporting in ASP.NET Core 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.
ID | Task Name |
---|---|
1 | Project initiation |
2 | Identify site location |
3 | Perform soil test |
4 | Soil test approval |
5 | Project estimation |
6 | Develop floor plan for estimation |
7 | List materials |
8 | Estimation approval |
9 | Sign contract |
10 | Project approval and kick off |
11 | Site work |
12 | Clear the building site |
13 | Install temporary power service |
14 | Foundation |
15 | Excavate for foundations |
16 | Dig footer |
17 | Install plumbing grounds |
18 | Pour a foundation and footer with concrete |
19 | Cure basement walls |
20 | Framing |
21 | Add load-bearing structure |
22 | Install floor joists |
23 | Add ceiling joists |
24 | Install subfloor panels |
25 | Frame floor walls |
26 | Frame floor decking |
27 | Exterior finishing |
28 | Cover outer walls and roof in OSB |
29 | Add water resistive barrier |
30 | Install roof shingles |
31 | Install windows |
32 | Utilities |
33 | Install internal plumbing |
34 | Install HVAC |
35 | Electrical utilities |
36 | Natural gas utilities |
37 | Install bathroom fixtures |
38 | Interior finsihing |
39 | Install insulation |
40 | Install drywall panels |
41 | Spackle |
42 | Apply primer |
43 | Paint wall and ceilings |
44 | Install modular kitchen |
45 | Flooring |
46 | Tile kitchen, bathroom and entry walls |
47 | Tile floor |
48 | Final acceptance |
49 | Final inspection |
50 | Cleanup for occupancy |
51 | Property handover |
Mar 25, 2024 | Mar 31, 2024 | Apr 07, 2024 | Apr 14, 2024 | Apr 21, 2024 | Apr 28, 2024 | May 05, 2024 | May 12, 2024 | May 19, 2024 | May 26, 2024 | Jun 02, 2024 | Jun 09, 2024 | Jun 16, 2024 | Jun 23, 2024 | Jun 30, 2024 | Jul 07, 2024 | Jul 14, 2024 | Jul 21, 2024 |
---|
M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S |
---|
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
and also it includes the functionality allowing the PDF export of holidays and eventMarkers.