Results 1 to 2 of 2

Thread: Canceling Drag

  1. #1
    Sencha User
    Join Date
    May 2014
    Posts
    14
    Answers
    2

    Default Canceling Drag

    I have a code like this :

    Code:
    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.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Perhaps this thread will help:
    http://www.sencha.com/forum/showthread.php?189602

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •