Kendo Treelist Drag and Drop across Parent nodes

2 posts, 0 answers
  1. Fady
    Fady avatar
    12 posts
    Member since:
    Jan 2015

    Posted 28 Oct 2015 Link to this post

    HI,

    We have requirement to implement drag and drop in Kendo Tree List.

    We would like to check , if Drag and Drop feature is available in Kendo Tree list ?  As per our requirement we need to drag and drop each nodes across parent nodes.  The requirement is not drag and drop the nodes between parent notes.  The parent node itself should be provided with an option to drag and drop across.

    Considering an example if there are three parent nodes and with child nodes as below.

    Parent1
    Child1
    Child2
    Parent2
    2.1 child1
     Parent3

    I need to have an option in tree list to change the order of the nodes as below.  I should be allowed to change the ordering of the parent node. Please advise if this can be achievable in Kendo tree list ?


    Parent3
    Parent2
    2.1 child1
     Parent1
    1.1Child1
    Child2

    If this can be achievable how this can be done ?  Kindly share some sample code snippet for implementing the drag and drop feature across nodes in kendo tree list ?  

    Thanks
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 29 Oct 2015 Link to this post

    Hello Fady,

    The drag&drop functionality of the TreeList can be enabled via the editable.move configuration option.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top