PDA

View Full Version : Canceling Drag



eyo
25 Jun 2014, 9:41 PM
I have a code like this :



var draggableClass = Ext.get( selectedId ).addCls( "draggable" );
if ( Ext.get( selectedId ).hasCls( "draggable" ) ) {
el.dd = new Ext.dd.DDProxy( draggableClass , 'group' );
}
else {
console.log( "I want to revert drag property. like revert(el.dd) " );
}


I want to cancel drag process. I mean draggable object will not be drag anymore. Can anyone help please.
Regards.

Gary Schlosberg
5 Jul 2014, 2:52 PM
Perhaps this thread will help:
http://www.sencha.com/forum/showthread.php?189602