I found that gantt.moveTask(anyNestedTaskId, 0, gantt.config.root_id); works as expected as a workaround, but if this is the intended behavior the documentation doesn’t make that clear.
Hello Brian,
Thank you for letting us know about that issue. I checked that it is reproduced even in the old versions. I added it as a bug to our internal tracker. The dev team will fix it in the future, but I cannot give you any ETA.
Hello Brian,
Looks like the issue was with the wrong information in the documentation. It will be fixed in the future.
Gantt expects the task object, not its ID. To see the changes, you will need to use the render method.
Here is the updated snippet: https://snippet.dhtmlx.com/syow8mpf
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan