PDA

View Full Version : Accessing DDProxy object when dragging from a GridPanel



azuroff
14 Dec 2009, 3:45 PM
I'm trying to drag rows from a grid, and while I can set the ddText property on the GridPanel to set the initial text of the DDProxy object that gets created, I'd like to be able to change the text based on what it's being dragged over. i.e. if it's being dragged over an invalid drop target, I'd like to change the message to explain why the user can't drop there - instead of just changing the icon.

Is there any way to do this?

azuroff
14 Dec 2009, 4:38 PM
I figured it out. :)


grid.getView().dragZone.getProxy()and then call
update(newValue) to change the text.