Premium support for our pure JavaScript UI components
Hi Bryntum team,
Is there a way to make the task not "blocked" when it has subtasks ?
changing subtasks dates change the main task dates, but changing the task dates can't be done (because the subtasks are "blocking" it)
if the tasks has dependencies (gantt links), the task isn't affected by dependencies.
etc...
Thanks a lot for your help
-
Attachments
-
- Screen Recording 2024-01-12 at 15.29.37.mov
- (22.12 MiB) Downloaded 58 times
-
- Screenshot 2024-01-12 at 15.30.07.png (151.02 KiB) Viewed 1559 times
Last edited by
clovisapp on Tue Jan 23, 2024 5:23 pm, edited 1 time in total.
Thanks a lot Marcio,
if
for a Gantt task, and subtasks, how can we make the parent task change of duration function of it's subtasks dates, do you have a good practice about that ?
Hi,
Do you mean you want to calculate the parent task duration when the subtasks duration change?
Hi,
It can be either user-provided or calculated, so doing both would not be possible.
Regarding why your parent task doesn't move - it's hard to tell since you haven't provided a test case.
My guess is it probably contains a manually scheduled child task. Then the parent cannot move since its child position is supposed to be set by user manually.
Thanks @arcady
The behavior of "groups" just work the right way (cf video in attachment).
- An event of a group can't be moved more in the past than the group start date
- Moving a task in the future makes the group end date change
- Moving the event with the biggest "end date" makes the group move back to the lattest dates of sub tasks
Is that possible to get the same behavior with tasks and sub tasks ?
-
Attachments
-
- Screen Recording 2024-01-24 at 12.42.42.mov
- (8.36 MiB) Downloaded 42 times
An event of a group can't be moved more in the past than the group start date
- setting Start No Earlier Than constraint on a parent task will prevent its children to move earlier than the constraint date (generally speaking all parent constraints are inherited by its children)
Moving a task in the future makes the group end date change
Moving the event with the biggest "end date" makes the group move back to the lattest dates of sub tasks
this is how parent task dates are calculated out of the box (unless a parent is manually scheduled then it's dates are supposed to be provided by user manually)