PDA

View Full Version : Drag/Drop datagrid question


phil25840
11-08-2010, 03:14 PM
I have two objects, one datagrid and one list. I have a simple value object that contains some data and an icon. I have implemented drag and drop of these value objects between the list and the datagrid. Everything works as it should, but I can't seem to figure out how to determine any info about the item that was dragged. Can anybody assist with this?
Thanks!

davidsm1979
11-09-2010, 05:07 PM
In the dragDrop event of the target object look at

event.dragSource.dataForFormat("items") as Array;