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
}
]
}