[REACT] How to disable editing of task completion percentDone?
Posted: Thu Aug 18, 2022 12:37 pm
I need to disable these two places
I need to disable these two places
Hi,
Please check the docs :
https://bryntum.com/docs/gantt/api/Gantt/feature/TaskEdit#removing-a-built-in-item
https://bryntum.com/docs/gantt/api/SchedulerPro/feature/PercentBar
To remove the percentBar
new Gantt({
features : {
percentBar : false
}
});
To remove the complete field from the task editor:
new Gantt({
features : {
taskEdit : {
items : {
generalTab : {
items : {
percentDone : false
}
}
}
}
}
});
Good Luck ,
Tasnim