An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
i have assigned a resource for the task 100%
and for the each task schedulingMode is "FixedEffort"
Task.tsx: below is the code
import { TaskModel } from '@bryntum/gantt';
// here you can extend our default Task class with your additional fields, methods and logic
export default class Task extends TaskModel {
declare deadline: Date;
static get fields() {
return [{ name : 'deadline', type : 'date' },
{ name : 'schedulingMode', default : 'FixedEffort' }
];
}
get effortUnit(){
return "d";
}
get constraintType(){
return "assoonaspossible";
}
get isLate() {
return this.deadline && Date.now() > this.deadline.getTime();
}
get status() {
let status = 'Not started';
if (this.isCompleted) {
status = 'Completed';
}
else if (this.endDate && (this.endDate as Date).getTime() < Date.now()){
status = 'Late';
}
else if (this.isStarted) {
status = 'Started';
}
return status;
}
}
i have attached the task that is assigned with resource and schedulingMode as FixedEffort, please notice the Start ,Finish ,Duration is not automatically calculating.
Forum post
i have assigned a resource for the task 100% and for the each task schedulingMode is "FixedEffort"
Task.tsx: below is the code
i have attached the task that is assigned with resource and schedulingMode as FixedEffort, please notice the Start ,Finish ,Duration is not automatically calculating.