I have trying to implement GANTT MPP xml export wit latest version - 4.0.0
As shown in example but its not working with angular wrapper ->
onMPPExport() {
// give a filename based on task name
const gantt:any = this.gantt.ganttInstance;
const filename = gantt.project.taskStore.first && `${gantt.project.taskStore.first.name}.xml`;
// call the export to download the XML file
gantt.features.mspExport.export({
filename
});
}
this is throwing err -> Cannot read property 'export' of undefined
Can you please provide solution on MPP export with angular wrapper ?
As now we totally blocked for export functionality, Can u guys provide working angular example as zip?
so we can complete our development till we get new Gantt release.
This fix has not been published in that nightly build.
Please, find gantt.component.ts in attachments that has this feature added. I just checked locally, all works as expected. No extra changes has been required than that I described in my answer. Please compare with your solution, it will help you in the future to update our wrapper examples as you want.