nclayton
31 Jul 2012, 6:52 AM
I am dragging items from a grid panel to a tree panel and would like for when an invalid drop is made, it would simply hide the "ghost", instead of moving it back to its starting location. I have tried placing object.dd.animRepair = false in several locations unsuccessfully.
Should I be setting this for the grid panel that I am dragging from, the tree panel I am dragging to, or both?
I was working with the beforedrop event of the tree panel, but it isn't being fired for invalid drops.
Any advice on how to get this disabled will be much appreciated!
Should I be setting this for the grid panel that I am dragging from, the tree panel I am dragging to, or both?
I was working with the beforedrop event of the tree panel, but it isn't being fired for invalid drops.
Any advice on how to get this disabled will be much appreciated!