PDA

View Full Version : Detect a DD start and end



koblass
18 May 2012, 3:22 AM
Hi,

I would like to be able to detect that a drag & drop started or ended within my Extjs 4 app.
The main goal is that I have iframes in my app and when a DD starts I want to display a shim over the iframe and when the DD ended I want to hide the shim.

How can I do this ?

Best regards
Daniel

koblass
21 May 2012, 2:36 AM
Any idea on this topic ?!?

mitchellsimoens
25 May 2012, 11:03 AM
Do you have D&D working? There are dragstart dragend events on the DragTracker.

koblass
26 May 2012, 1:52 AM
Do you have D&D working? There are dragstart dragend events on the DragTracker.

Sure I can do it this way (in fact I already did it this way), but then I need to catch the dragstart event on each D&D. What I would like is a way of doing it automatically. Like subscribing to a kind of dragstart event on the D&D manager, so like this as soon as a D&D starts I can display a shim over my IFrame and hide it when the D&D stops.