You can export and import data of DHTMLX Gantt which is built with Node.js.
To configure export/import for your project, download the api.js file and include its code into the Gantt configuration file. Read the information below for more details.
The export functionality should work the same way as it works in the web version, with some exceptions:
The import functionality needs the additional formData component to be installed:
npm install form-data
Import from MSP and PrimaveraP6 files should work the same way as it works in the web version.
When importing an Excel file, the data of the file will return to Gantt in the JSON format. Since the columns may have arbitrary names in Excel, it is necessary to map the columns of the Excel document to the task's properties of DHTMLX Gantt. For this, you need to develop your own solution.Back to top