Hi!
I got trouble while using and customizing gantt.
So I wanna ask you something. (gantt version : 5.0.3)
1.
Input:
tasks
[
{
"name" : "task1",
"startDate" : "2022-01-01",
"endDate" : "2022-01-11",
"duration" : "10"
},
{
"name" : "task2",
"startDate" : "2022-01-01",
"endDate" : "2022-01-21",
"duration" : "20"
}
]
interval
{
"startDate" : "2022-01-05",
"endDate" : "2022-01-06",
"isWorking" : false
}
Response (displays on gantt):
interval → 2022-01-05 (grey shading on gantt)
task1 → 2022-01-01 ~ 2022-01-12 (duration : 10)
task2 → 2022-01-01 ~ 2022-01-22 (duration : 20)
What I want:
changed json data comparing input/output
task1 → endDate : 2022-01-12
task2 → endDate : 2022-01-22
When the gantt is loaded, it doesn't auto-sync.
even though I set auto-sync option true in the constructor of ProjectModel.
If I want to get back changes from gantt, what kind of method should I call?
2.
When I tried to indent a task which has predecessors, 'Scheduling cycle' popup shows.
And I want to customize this popup, but I don't know what to do.
https://bryntum.com/examples/gantt/conflicts/
What I want:
remove second item (Deactivate depedency) on the popup
and show only two items (Remove dependency & Cancel the change and do nothing)
Thanks in advance.