а

Keep all task visible after gantt.render()


#1

I added a radiogroup on my gantt to allow user to switch between 3 diferent views of the gantt grid (different set of visible columns).

When the gantt opens initially, all tasks are visible due to gantt.config.open_tree_initially = true;

But when I switch view (columns are hidden depending on the view selected), my project collapses. I tried to put the code below after gantt.render(); but it has no effects…

				gantt.render();
				gantt.eachTask(function(task){
					task.$open = true;
				});

How could I proceed to keep my project in developped state ?


#2

Hello Sylvain,
We received your tickets in the support system. Let’s continue our discussion there.