I am working on a page with Drag from Grid to Tree and using gridviewdragdrop and treeviewdragdrop plugin.
Everything works fine, but I don't really need to drag node, just need get the dragdata and dropdata, so I want to stop the drop action .
I found notifyDrop method in Ext.dd.DropTarget but don't know how to define that in plugin config. Anyone help? Thanks a lot!
you can use the beforedrop
event, do your thing and at the end of the event just return false;
in there, that way you will not complete the drop, that's what I do to a special case that I have.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.