exports the structure and data of a Gantt chart into a JSON object
config | object | optional, an object with Gantt configuration |
gantt.exportToJSON({
name:"gantt.json"
});
This method is defined in the export extension, so you need to include it on the page:
<script src="https://export.dhtmlx.com/gantt/api.js"></script>
The config object can contain following options: