currently i have performance problems if i activate ressource diagram function at my gantt view.
when i start start my gantt view without ressource diagram i can move very fast on timeline with some task and i get no performance problems with the just in time update.
when i activate ressource diagram elements below my gantt chart an i move some tasks on timeline i get delay for every move. (move, secund wait, move secund wait)
it is definently opposite to the official exampl on dhtlmx, there we have a “speed” performance update.
At first i have thought is maybe associated while he refresh DOM elements or other operation do during "gantt.templates.resource_cell_class = function(start_date, end_date, resource, tasks){ … cstom code} " are running but i get the same result if i turn off all other operation in this functions.
-> i move some tasks, secund wait, move -> secund wait.
Maybe have someone experience to say what i can do or where ic can look.
Hi,
Resource diagram is a new functionality and it will be gradually improved, including it’s perfomance.
If you provide more details about the issue, it will be helpful for us.
If you can share any example or provide with access to your application where the issue can be reproducel - it will be great. Or may be you can reproduce the issue in any ready sample with your data (docs.dhtmlx.com/gantt/samples/11_resources/), if so - please send us data.
thank you for your feedback.
of course, i have prepare a example on jsfiddle which base on exact your example ( same source code , same dataset, same css). only what i have change are
gantt.config.start_date
and
gantt.config.end_date
I get the same result as like in my development, because i have set a realistic project timeline as your small duration time
in your example.
During i move a task i think, the loop have to go about all DOM element and look it that what is to change or not.
And this is the reason because we got a big delay while we move items on gantt timeline.
Now, when you drag a task, Gantt doesn’t update the resource chart immediately, it happens only after some interval and after you drop the task.
However, smart rendering still doesn’t work in the resource chart. I cannot give you an ETA on when it is implemented, but I will notify you.