This is a migrated thread and some comments may be shown as answers.

Allow only one root task

1 Answer 51 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Felix
Top achievements
Rank 1
Felix asked on 30 Jun 2016, 12:32 PM

Hello,

is it somehow possible to prevent that more than one root task can be created or only certain tasks can be deleted? My problem is that inside my gantt chart the root task represents some kind of project planning and all the child tasks are the different tasks of this project planning. So I want to prevent that the user can delete this root task or create other root tasks by drag and drop etc. This is a problem because I can only cancel e.g. the OnTaskDelete-event with some kind of data validation but the OnTaskUpdate events are fired before the OnTaskDelete-event. As a  consequence incorrect data is stored inside the updated tasks (e.g. the false OrderId), because the deletion of the root task is cancelled.

I really hope you can help me. Thank you very much.

Kind regards,

Felix

 

1 Answer, 1 is accepted

Sort by
0
Felix
Top achievements
Rank 1
answered on 06 Jul 2016, 06:03 AM

Hello,

has no one a solution for my problem, how to allow only one root task within the gantt?!? I would be really thankful.

Kind regards,

Felix

Tags
Gantt
Asked by
Felix
Top achievements
Rank 1
Answers by
Felix
Top achievements
Rank 1
Share this question
or