views:

12

answers:

0

Hi everyone,

I've been testing a lot of things in order to make a drag&drop between a DataGrid and a Google Map Polygon.

1st Attempt : I tried to enable dragging from the dataGrid and add listeners to the Polygon. The problem is that I only get the dragEnter listener working. For example, it seems that no dragDrop event is fired from a polygon or even the displayObject in which the polygon is.

2nd Attempt : I do the drag&drop manually. That means I add a mouseUp listener on my map and determine if the coordinates I get are in a Polygon on my map (that's ok). My problem is that I can't find a way to extract a DataGridDragProxy from a selected element in the DataGrid in order to do the drag operation. I don't want to use the DragManager.doDrag because it seems that the mouseup event is not fired while dragging.

Thanks for the help.