I'm using a panel with border layout in which west region contains the tree and center region contains the panel which is extending from a panel with column layout. The tree is loading data from json (draggable). Items is adding to the panel at the center region when the user drops the node form tree. But for adding the itms in panel i'm using panel.add method which is always adding at the last position. But i want to add it wherever the user dropped it.
Tried with panel.add(droppeditem).showAt(e.getXY())
But it's giving the error as Uncaught TypeError: Cannot call method 'translatePoints' of undefined.
Can anybody help me to achieve this
Regards URL