а

Changing Timescale result in disaperance of all child tasks


#1

Hi all !

I am developping a Sharepoint Webpart to display Planner Tasks with the free (for now) version of DHTMLXGantt.

I successfuly display my buckets as parent tasks and Planner tasks as child tasks.

When I update the time scale, My component is updated, and here are my last instructions :

  gantt.init("gantt_here");
  this.initGanttEvents();
  gantt.parse(res); 

The “res” value is absolutly the same as the one of the first load that works.
As a result I have only the parent tasks displayed, and no error in the console.

Any idea on what could go wrong, or how I could debug that ?
Thanks for the tips !


#2

Hello Julien,
We don’t have any SharePoint guides and I don’t specialize in that technology, so I won’t be able to help you to configure it.
However, the issue might be related to Gantt. But there are various possible reasons, and I cannot suggest what might be the cause as I don’t see your code.

Please, try to reproduce the issue in the following snippet, then click on the “Share” button and send me the link:
https://snippet.dhtmlx.com/3a7e741de
Or send me an HTML file with all the necessary Javascript and CSS files.
I will check what might be wrong there.