а

Export to MS Project with gantt intance intead just gantt


#1

I have to export to MS project, but I’ve created the gantt by gantt.getGanttInstance(). When I’m calling exportToMSProject method from ganttInstance, I have the error that “exportToMSProject is not a function”.


#2

Hi @Adriano_Trentim_Augu!

I’ve just checked it on my end, and looks like export to MS Project works with additional gantt instances the same way as with the default one:
http://snippet.dhtmlx.com/f1957a96f
http://snippet.dhtmlx.com/5896cbb5e

Please make sure to add this script with link on the Gantt export extension:
<script src="https://export.dhtmlx.com/gantt/api.js"></script>

Here is the related docs :
https://docs.dhtmlx.com/gantt/api__gantt_exporttomsproject.html