Adding different types of tasks

2 posts, 1 answers
  1. Saurabh
    Saurabh avatar
    7 posts
    Member since:
    Apr 2015

    Posted 04 Jul 2015 Link to this post


    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


    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'

  2. Answer
    Dimitar Terziev
    Dimitar Terziev avatar
    1268 posts

    Posted 07 Jul 2015 Link to this post


    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.

    Dimitar Terziev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top