PDA

View Full Version : How to consume a drag event /stop default behaviour of draggable class on that event



ashwinb88
8 Oct 2011, 6:05 AM
I have an element registered to be draggable using Ext.util.Draggable. On a drag I animate the element and during this time I want no other drag event to happen . Is there a way through which i can consume drag events till I finish animation???? (Note:destroy && setDragging functions of the class are not useful).destroy and setDragging help only in not firing 'dragend' but they are not useful in preventing default behaviour of sencha class "onDrag".