Do we have any example connect gantt in backend nodejs without using html

HI All,

we have one requirement to export gantt without user interface (html).
We want to create scheduler in node js to export the gantt chart without html.

Is there any way to connect gantt chart with backend nodejs without using html ?

Hi,
currently, dhtmlx gantt works only in browser environment and you can’t run it in nodejs.

A possible workaround for this is to use some kind of headless browser, e.g. puppeteer - you create an html page template with gantt chart and loaded data, not available for the public view. Then you can run puppeteer and open your page with it and make a pdf/png snapshot of the gantt. You can do all of it from code, without user UI and it’s pretty much how printing works on our services