Gantt chart group data end date issue

Asked by Anonymous
1 years ago.

Below is the data representation in gantt chart, and the problem faced here is id 257 (parent or group element) is not extends to its actual end date, it takes end date based on the children’s data. And my requirement is parent data need has its end dates as actual provided date.

{
    "id": 257,
    "text": "test alan'sss",
    "start": "2025-03-19T00:00:00",
    "end": "2025-04-25T00:00:00",
    "status": "Approve",
    "colorCode": "#c0ca33",
    "parentID": null,
    "children": [
        {
            "id": 338,
            "text": "test030303",
            "start": "2025-04-11T00:00:00",
            "end": "2025-04-15T00:00:00",
            "status": "To Do",
            "colorCode": "#5058c9",
            "parentID": "null",
            "children": null
        },
        {
            "id": 328,
            "text": "fw3",
            "start": "2025-04-01T00:00:00",
            "end": "2025-04-08T00:00:00",
            "status": "dafbdfbdb",
            "colorCode": "#30d6d7",
            "parentID": "null",
            "children": null
        }
    ]
}
Answer posted by Dan Letecky [DayPilot]
1 years ago.

There are two group modes in the Gantt chart, and by default the component calculates the start and end from the group children. If you change the mode to "Manual", it will use the specified start and end.

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.