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

Kendo Treelist Drag and Drop across Parent nodes

1 Answer 307 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Fady
Top achievements
Rank 1
Fady asked on 28 Oct 2015, 07:40 PM
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

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 29 Oct 2015, 04:51 PM

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!
 
Tags
TreeList
Asked by
Fady
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or