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

Bug: Drag&Drop not working with AngularJS

4 Answers 80 Views
Integration with other JS libraries
This is a migrated thread and some comments may be shown as answers.
f
Top achievements
Rank 1
f asked on 24 Jul 2015, 11:21 PM

I am learning the TreeList, and follow the "AngularJS" demo. I tried to "Edit this example" by replacing "editable: true" with "editable: { move: true }". The rows can be dragged but cannot be dropped.

Is this a bug or I missed something?

4 Answers, 1 is accepted

Sort by
0
Atanas Georgiev
Telerik team
answered on 28 Jul 2015, 08:14 AM
Hello f g,

At this time there is not drag&drop functionality for TreeList supported out-of-the-box. I believe you can implement drag and drop for the TreeList widget by means of the sortable widget we offer. You can also vote for the following UserVoice item.


Regards,
Atanas Georgiev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
f
Top achievements
Rank 1
answered on 28 Jul 2015, 03:36 PM
There is a Drag-and-Drop Demo in the TreeList Demo page. The issue is that it does not work if I use the TreeList with AngularJS.
0
Accepted
Atanas Georgiev
Telerik team
answered on 29 Jul 2015, 06:18 PM
Hello f g,

Please accept my sincere apologies for the misleading information below - it is not up to date. The UserVoice item is now Completed.
Currently there is an issue with TreeList drag and drop functionality when used with AngularJS. In order for it to work the TreeList should have an ID assigned. Please refer to the following snippet:

http://dojo.telerik.com/@rusev/aDibA

We are doing our best to address the problem in a timely manner, and make it possible to use the drag and drop functionality even when there is no id assigned to the widget.

Regards,
Atanas Georgiev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Atanas Georgiev
Telerik team
answered on 03 Aug 2015, 07:20 AM
Hello f g,

The issue  with the drag and drop functionality when used with AngularJS is already resolved. It will work from now on even when the element has no ID. The fix will be available in our service pack expected later this week.

Regards,
Atanas Georgiev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Integration with other JS libraries
Asked by
f
Top achievements
Rank 1
Answers by
Atanas Georgiev
Telerik team
f
Top achievements
Rank 1
Share this question
or