Disable moving the tasks inside the list

3 posts, 1 answers
  1. Felix
    Felix avatar
    42 posts
    Member since:
    Sep 2014

    Posted 22 Jun 2015 Link to this post

    Hello,

     Can someone tell me how to disable the moving functionality of the tasks inside the list? If already tried the following code but none of them works. Thanks.

    1.gantt._widget.bind("move", function (e) {
    2.                   e.preventDefault();
    3.               });
    4.gantt._widget.bind("mousedown", function (e) {
    5.                   e.preventDefault();
    6.               });     

  2. Felix
    Felix avatar
    42 posts
    Member since:
    Sep 2014

    Posted 26 Jun 2015 Link to this post

    Hello,

    Does no one have a solution for my problem? Still need to unbind the drag and drop-functionality for the tasks inside the list of tasks. Thanks.

    Regards,

    Felix

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 30 Jun 2015 Link to this post

    Hello,

    With the current implementation of the RadGantt control, there is no direct option to disable the drag-and-drop functionality in the "treelist" part. Nevertheless you could handle the save event of the kendo widget and cancel it, if the e.values object contains either the parentId or orderId fields, since these are the two fields which are updated during the drag-and-drop operation. 

    Regards,
    Dimitar Terziev
    Telerik
Back to Top