Custom Edit window per task type

Can the edit or new task window be redirected to another function.

I need to open different edit windows in iframes for different task types?

Hello,
please check this article:
docs.dhtmlx.com/gantt/desktop__t … oreachtype
If you need to completely redefine the lightbox (use your own popup), you can redefine gantt.showLightbox(id) function and call it from theregantt.showLightbox = function(id){ // create and display your popup }There you can inspect a task that requests a lightbox, a task id is provided as an argument, and display the appropriate form.