native event withing dragLandingZone

Hi all.

I wanna have a popup shown next to the mouse pointer. How can i access screenX/Y within dragLanding? See example below

grid.dragger.addDragLanding(dragZone, {
    _drag : function(sourceHtmlObject,dhtmlObject,targetHtmlObject) {
 
            // Create a dhx popup, fill it
            var myPop = new dhtmlXPopup();
            var myForm = myPop.attachList("name",[ {id:1, name:"Get"}, {id:2, name:"Set"}]);
           
           // show popup next to the mouse pointer, e not available :-(
           myPop.show(e.screenX, e.screenY, 1, 1);
     },
     _dragIn : function(htmlObject, shtmlObject) { return htmlObject; },
     _dragOut : function(htmlObject) { return this; }
});

You may try to use the onBeforeDrag event to attach a custom object to a cursor while dragging.
docs.dhtmlx.com/doku.php?id=dhtm … beforedrag

For example:

mygrid.attachEvent("onBeforeDrag",function(id){ return "<div id='drag_text'></div>"; });

Tried out your solution, thanks sematik.

Problem is still that i need a menu where the user
can select which type of item gets dropped.

Best thing i thought of is to display a list within a popup
which is display onDrag() and before onDrop().