The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
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.
Jose Melo.
ADAdministrator Syncfusion Team October 24, 2003 09:57 PM UTC
You can get the row where the mouse is at any time using code like:
int row;
int col;
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.