Hi,
Thank you in advance , We have a project and when we load it it in gantt and criticalPath feature is enabled it does not loads throwing a js error , and we can not find what is wrong in our data , so i was hoping if you can point out anything ?
this is the payload i used at demo https://bryntum.com/products/gantt/examples/basic/
new Gantt({
appendTo: 'container',
"dependencyIdField": "wbsCode",
"project": {
"dependencyIdField": "id",
"transport": {
"load": {
"url": "https://backend.worksavi.com/test2.json",
"requestConfig": {
"headers": {
"Accept": "application/json",
},
"fetchOptions": {
"credentials": "omit"
}
}
}
},
"autoLoad": true,
"expanded": true,
},
"columns": [
{
"name": "wbs",
"type": "wbs",
"editor": false,
"field": "wbsCode",
"parentIndex": 0
},
{
"name": "name",
"type": "name",
"parentIndex": 1
},
{
"name": "fullDuration",
"type": "duration",
"parentIndex": 2
},
{
"name": "startDate",
"type": "startdate",
"format": "DD/MM/YYYY",
"parentIndex": 3
},
{
"name": "endDate",
"type": "enddate",
"format": "DD/MM/YYYY",
"parentIndex": 4
},
{
"name": "percentDone",
"type": "percentdone",
"parentIndex": 5
},
{
"type": "addnew"
}
],
"features": {
"criticalPaths": {
"disabled": false
} }
});