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

Adding different types of tasks

1 Answer 62 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Saurabh
Top achievements
Rank 1
Saurabh asked on 04 Jul 2015, 09:21 AM

Hi,

I want to achieve the functionality such that,

When i click 'Add task' button, it opens a popup where task detail is filled and the 'Task type' is filled.

There could be 3 task types T1, T2, T3. The relation between these are T1>T2>T3

i.e

1- T1 cannot be a child of T3 or T2

2- T3 cannot be a direct child of T1 etc.

I want to prevent Task drop if above conditions not satisfied.

Is there any event available which gets called when tasks are re-arranged (drag drop) something like 'ondrop' having info of droped task data and position where it is droped?

also please suggest how to open popup when 'Add'

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar Terziev
Telerik team
answered on 07 Jul 2015, 02:13 PM
Hello,

I have prepared a dojo snippet showing how to show the advanced edit form when a new tasks is added.

Regarding your second question, when a drag-and-drop operation is perfromed gantt widget fires its save event. This is also demostrated in the above referenced dojo snippet.

Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Gantt
Asked by
Saurabh
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or