We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Everywhere the date of only the last nested sub object is displayed

Hello, please help me to fix the error.

When requesting data, an array comes up with 6 objects each nested inside each other.

Objects with different starting periods.

But everyone displays the date of the last nested sub-object!

Attachment: Gantt_7541d c22.rar

1 Reply

MS Monisha Sivanthilingam Syncfusion Team December 8, 2022 04:46 AM UTC


Greetings from Syncfusion support.

This is the behavior of the Gantt Chart. The parent record will be rendered according to the minimum start date and maximum end date of its child records, irrespective of the dates provided to it. We suggest setting the taskMode to manual, if you wish to render the parent tasks on the dates provided to them.

Online Documentation: https://ej2.syncfusion.com/react/documentation/gantt/task-scheduling/#manually-scheduled-tasks

Online Demo: https://ej2.syncfusion.com/react/demos/#/bootstrap5/gantt/taskMode

Sample: https://stackblitz.com/edit/react-mmbkb3?file=data.js,index.js



Live Chat Icon For mobile
Up arrow icon