Hiding Task Progress dynamically

Hello,
i’m trying to implement a set of functions to dynamically change the elements shown on the chart.
I have been able to implement such functions for links, milestones and baselines by using templates, but i can’t find a way to disable progress from being drawn, except for removing it from my data set.
I don’t want to do that, since i would have to reload potentially huge amounts of data everytime.
Do you have some suggestions on how to do that?

Hi,
if you want to hide it for all tasks in a chart, try this setting:
docs.dhtmlx.com/gantt/api__gantt … onfig.html

demo:
docs.dhtmlx.com/gantt/snippet/c8e9e028

Well, thanks!
I must say that the description of that API is REALLY confusing though!

[b]boolean [/b] show_progress; - enables showing a progress/spinner while data is loading

i think it needs a fixup :wink:

Hi,
yes, you’re right…
sorry for misleading you, will fix it in the near time