How to get original_task

i get original_task when drag task type project but task child not show original_task

Hello @Weerayut_Prapamontol,

By default tasks with type project can’t be dragged. Looks like you set the value of drag_project config to enable drag and drop.
https://docs.dhtmlx.com/gantt/api__gantt_drag_project_config.html

Please clarify, what do you mean by “original_task”? Try to reproduce the issue in the snippet to help me understand. Update the code, then click on Share button and send me new link.
http://snippet.dhtmlx.com/0cb19ab73