Dear Support,
I have the following problem:
I'm initiating a DnD from an Img to a panel. The drag is OK and the panel accepts the drop... but, as the panel is a VLayout, it removes the source icon (which I don't want) and inserts it into my panel... which I don't want either.
I searched for a solution and found out that I could simply call the cancel() method of the drop event to avoid this; which I did. But then, the mouse behaviour, especially the cursor appearance is incorrect; until a click somewhere.
To reproduce the problem, simply take your example at :
http://www.smartclient.com/smartgwt/showcase/#effects_dd_create
... and change the following:
- PieceBin extends VLayout instead of Canvas
- cancel() the event in the DropHandler
How can I get this DnD operation work as expected ?
Thank you very much in advance,
Thomas
I have the following problem:
I'm initiating a DnD from an Img to a panel. The drag is OK and the panel accepts the drop... but, as the panel is a VLayout, it removes the source icon (which I don't want) and inserts it into my panel... which I don't want either.
I searched for a solution and found out that I could simply call the cancel() method of the drop event to avoid this; which I did. But then, the mouse behaviour, especially the cursor appearance is incorrect; until a click somewhere.
To reproduce the problem, simply take your example at :
http://www.smartclient.com/smartgwt/showcase/#effects_dd_create
... and change the following:
- PieceBin extends VLayout instead of Canvas
- cancel() the event in the DropHandler
How can I get this DnD operation work as expected ?
Thank you very much in advance,
Thomas
Comment