I am using Gantt I want export pdf
features: {
pdfExport : {
exportServer: 'http://localhost:4250', //Print server
},},
tbar : {
{
type: 'button',
ref: 'exportButton',
icon: 'b-fa-file-export',
text: 'Export to PDF',
onAction : async () =>{
this.gantt.zoomToFit({ //onZoomToFitClick
leftMargin: 50,
rightMargin: 50
});
this.gantt.features.pdfExport.showExportDialog();
}
}
}
when I click export to pdf ExportDialog box was opened the I clicked on Export button this server error came "POST http://localhost:4250/ 404 (Not Found)" pls provide correct examble for export to pdf. (Is that any other library need for export to pdf )