Fired when item drag is canceled by pressing the Escape key. The dragcancel event represents a jQuery keyup event and contains all the event data of the jQuery Event Object.


<div id="draggable"></div>

    hint: function(element) {
      return element.clone();
    dragcancel: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
      console.log("'Esc' key pressed! Dragging is cancelled.");
  #draggable {
    width: 50px;
    height: 50px;
    background-color: orange;
    border: 2px solid green;

Event Data

e.sender kendo.ui.Draggable

The Draggable instance which fired the event.

In this article