Edit this page

pdf.fileName String (default: "Export.pdf")

Specifies the file name of the exported PDF file.

Example - set the default PDF file name

<div id="gantt"></div>
    toolbar: ["pdf"],
    pdf: {
        fileName: "Tasks.pdf"
    dataSource: [
            id: 1,
            orderId: 0,
            parentId: null,
            title: "Task1",
            start: new Date("2014/6/17 9:00"),
            end: new Date("2014/6/17 11:00")
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article