Hello,
I am trying to implement something that is nearly identical to your Drag & Drop demo on the ListBox page. Specifically I want to drag items from one listbox to another and also use dragging to re-order items within a listbox.
My problem is that I don’t know how to determine on which widget the item was dropped. I have scoured your documentation and forums and I can see that when the jqxDragDrop object is used there is a dropTarget implemented that has events for when an object is dropped on it. But in the listbox drag and drop demo this object is not used and instead there are properties for allowDrag and allowDrop built-in to the listbox.
I have also seen in some of your forum posts that you use the coordinates of the dropped object to determine where it was dropped. I tried implementing this but I cannot tell how to know where the item will be dropped based on the coordinates. There are scenarios where the item is dragged so that it spans both listboxes but gets dropped into one or the other and I’m not sure how to know which it will be.
Any help would be greatly appreciated.
Thanks!