Hi Alex,
I removed 3 columns in gantt chart and it is working. They are:
{ type: 'totalslack' },
{ type: 'latestartdate' },
{ type: 'lateenddate' },
Here is my configuration of gantt with 3 columns cause issue. If I remove them the code will work. I also get the same issue when test on bryntum advanced example with this gantt configuration
const gantt = window.gantt = new Gantt({
project,
dependencyIdField : 'sequenceNumber',
weekStartDay : 1,
startDate : '2012-08-28',
endDate : '2012-11-05',
columns : [
{ type : 'wbs' },
{ type : 'name', width : 250 },
{ type: 'startdate', format: DAY_DATE_FORMAT },
{ type: 'enddate', format: DAY_DATE_FORMAT },
{ type: 'duration' },
{ type: 'totalslack' },
{ type: 'calendar' },
{ type : 'percentdone', width : 70 },
{ type : 'resourceassignment', width : 120 },
{
type : 'predecessor',
width : 112
},
{
type : 'successor',
width : 112
},
{ type : 'schedulingmodecolumn' },
{ type : 'percentdone', showCircle : true, text : '%', width : 70 },
{ type : 'constrainttype' },
{ type : 'constraintdate' },
{ type: 'deadlinedate' },
{ type: 'latestartdate' },
{ type: 'lateenddate' },
{ type : 'addnew' }
],
subGridConfigs : {
locked : {
flex : 2
},
normal : {
flex : 1
}
},
columnLines : false,
features : {
indicators : {
items : {
deadline : true,
earlyDates : false,
lateDates : false,
constraintDate : false
}
},
rollups : {
disabled : true
},
progressLine : {
disabled : true,
statusDate : new Date(2019, 1, 10)
},
taskContextMenu : {
// Our items is merged with the provided defaultItems
// So we add the provided convertToMilestone option.
items : {
convertToMilestone : true
},
processItems({ taskRecord, items }) {
if (taskRecord.isMilestone) {
items.convertToMilestone = false;
}
}
},
filter : true,
dependencyEdit : true,
timeRanges : {
showCurrentTimeLine : true
},
labels : {
left : {
field : 'name',
editor : {
type : 'textfield'
}
}
}
}
});
Could you help me how to show 3 columns without any impacts?
Thanks.