AD
Administrator
Syncfusion Team
March 27, 2007 01:11 PM UTC
There is another current thread that is discussing something similar at http://www.syncfusion.com/Support/Forums/message.aspx?&MessageID=49716.
Here is a sample (based on the sample from the other thread) that does basically what you asked about. It allows you to mousedown on a row and drag it to another row. When the drag is released, it replaces the new row with values from the initial row. In the DragDrop code, you could instead display your menu and do whatever you want done at the drop.
It makes use of the Windows Forms Drag Drop support, but does not actually put the dragged item into the event args. Since, the dragging is taking place within the same grid, it just uses a variable to hold the dragged Record. This simplifies things a little.
http://www.syncfusion.com/Support/user/uploads/CellDragDrop_899f429b.zip