exports data from the Gantt chart to an iCal string

void exportToICal( [object export] );
exportobjectoptional, an object with export settings (see the details)




This method is defined in the export extension, so you need to activate the export_api plugin. Read the details in the Export/Import for Excel, Export to iCal article.

The exportToICal() method takes as a parameter an object with the following properties (optional):

  • server - (string) sets the API endpoint for the request. Can be used with the local install of the export service. The default value is https://export.dhtmlx.com/gantt;
  • name - (string) allows specifying custom name and extension for the file but the file will still be exported in the iCal format. Check the example.
See also
Back to top