I'm trying to drag from a GridDataBoundGrid and drop into another GridDataBoundGrid a certain row.
I can do the drop of the row in the second GridDataBoundGrid, but I can't get the index of the GridDataBoundGrid I'm dropping the row.
In fact I don't need the Drag and Drop event to copy or move the row, I just want to know the index of the second GridDataBoundGrid I'm dropping the row.
Thanks a lot for you help.
ADAdministrator Syncfusion Team October 24, 2003 04:57 PM
You can get the row where the mouse is at any time using code like:
Point pt = this.grid.PointToClient(Control.MousePosition);
if(this.grid.PointToRowCol(pt, out row, out col, -1)
//row and col will have the cell where the mouse is...
So, in the drop event, you can get the row using the above code.