samples/02_extensions/18_linked_tasks.html Add lag to the relationship in Links but the page that appears after setting is not drawn according to the data
Hello Dangxiaowei,
After I add the lag parameter to the links, task 2.3 is moved to a new date like it is shown on your screenshot. Please, clarify how you imagine it should work.
Hello Dangxiaowei,
Thank you for the clarification.
There are 2 links that point to the same task. Task #2.3 cannot start earlier because of Task #2.2. To make it work as you want, it would require to move Task #1 to 03 April. But that is a backward scheduling mode when the tasks are scheduled from successors. To enable that mode, you need to turn on the gantt.config.schedule_from_end option: https://docs.dhtmlx.com/gantt/desktop__auto_scheduling.html#backwardscheduling
* How do I present and unload tasks based on the level of the task WBS, * Now I’m going to set the display level 4 task to a subset of that and put it away
Hello Dangxiaowei,
The placeholder task is an unscheduled task, it won’t show the current date. https://docs.dhtmlx.com/gantt/desktop__unscheduled_tasks.html
The easiest way to change that would be to modify the date_grid template and show the dates for the placeholder task:
Hello, I have loaded 5000 tasks at the same time, but when I double-click to get the total time difference of the task, the value is very slow.I just call the API you provided and set time = gantt.getTotalSlack(task);How to optimize it.Or how to use Gantt in a Worker
Hello Dangxiaowei,
Thank you for letting us know about the issue. I added it as a bug to our internal tracker. The dev team will try to fix it in the future, but I cannot give you any ETA.
If that doesn’t help you, probably, the issue is related to the Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
In that case, please add your configuration to the following snippet and make sure that the issue is reproduced there: https://snippet.dhtmlx.com/40tsh9uz
Then, click on the Save button and send me the link.
Or send me a ready demo with all the necessary JavaScript and CSS files so that I can reproduce the issue locally.