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

Moving task with Dependencies

1 Answer 32 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 20 Dec 2013, 02:20 PM
I was wondering if it is possible to do something the following with the GanttView:

We have task A, B, C & D. They are all linked to each other in chronological order (A->B->C->D). When I move task B, is it possible to let Task C & D move as well so the time between them remains the same? So when i have moved B 3 days in the future, C & D are also moved for 3 days.

Kind Regards
Thomas

1 Answer, 1 is accepted

Sort by
0
Ventzi
Telerik team
answered on 21 Dec 2013, 12:44 PM
Hello Thomas,

This behavior could be easily achieved by writing some custom logic for the RadGanttView. The first step to create a custom GanttTask where you should store all dependant tasks. Also you need a custom DragDropBehavior where you should update all dependant tasks according to the date where the task is dropped. 

I've created and attached a sample project which demonstrates this approach.

Hope this helps.

Regards,
Ventzi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GanttView
Asked by
Thomas
Top achievements
Rank 1
Answers by
Ventzi
Telerik team
Share this question
or