6 Answers, 1 is accepted
0
Hello Yaroslav,
Regards,
Alex Gyoshev
the Telerik team
While this functionality is not officially supported, you could unbind all drag events from the draggable in the following way:
$("#draggable").unbind(".kendo-dnd");
Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
John
Top achievements
Rank 1
answered on 07 Mar 2014, 08:17 AM
Do you know if there is a solution for this now or is the hack method you mentioned still the only way?
Thanks
Thanks
0
Hello John,
Alex Gyoshev
Telerik
If you get the instance of the Draggable class, you should be able to detach it by calling its destroy method.
Regards,Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
beauXjames
Top achievements
Rank 2
answered on 02 Apr 2014, 01:53 PM
Here's an example for pulling this one off...
var $element = $(element);
if ( $element.data('kendoDraggable') ) {
$element.data('kendoDraggable').destroy();
}
var $element = $(element);
if ( $element.data('kendoDraggable') ) {
$element.data('kendoDraggable').destroy();
}
0
Todd
Top achievements
Rank 1
answered on 17 Mar 2017, 03:33 AM
is there a function simillar to kendo.ui.DropTarget.destroyGroup("group name"); to destory the draggable elements?
0
Hello Todd,
Currently, a similar function is not available for the Draggable widget.
The Draggable widgets can be destroyed only individually as shown in the previous reply.
I can suggest submitting a feature request in our feedback portal and based on its popularity we may implement it in a future release:
http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback/category/63713-drag-drop
Regards,
Stefan
Telerik by Progress
Currently, a similar function is not available for the Draggable widget.
The Draggable widgets can be destroyed only individually as shown in the previous reply.
I can suggest submitting a feature request in our feedback portal and based on its popularity we may implement it in a future release:
http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback/category/63713-drag-drop
Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.