Hi Lach, Nope...My component code looked liked: <mx:DataGrid id="cart" dragEnabled="true" dropEnabled="true" dragEnter="onDragEnter(event)"/>
Still haven't figured out what caused the problem. Wayne --- In [email protected], Lachlan Cotter <[EMAIL PROTECTED]> wrote: > > Hi Wayne, > > By any chance did you forget to register your event handler with the > DataGrid? Just a thought. > > Cheers, > Lach > > > On 30/11/2006, at 1:07 AM, wayneposner wrote: > > > I'm trying to drag-and-drop from a tree to a datagrid. I've followed > > the examples to try to achieve this, but whenever I drag over the > > datagrid, it refuses to accept the drop. The datagrid acts like the > > dropEnabled flag is set to false. I've traced the code and despite > > the fact that I have a custom dragEnter handler, it still executes the > > handler found in ListBase.as which cancels out my handler. > > > > Does anyone know what would cause this? Thanks! > > > > My Handler is as follows: > > > > private function onDragEnter( event:DragEvent ) : void > > { > > DragManager.acceptDragDrop(UIComponent(event.currentTarget)); > > } >

