PA
Ponraja A
Syncfusion Team
January 6, 2012 12:43 PM UTC
Hi Scott,
Sorry for the delay caused.
You can get the dropped row and column index of the grid, by using the PointToCellRowColumnIndex method as shown in the following code.
Sample Code [C#]
void SpreadSheetControl_Drop(object sender, DragEventArgs e)
{
var point = e.GetPosition(spreadSheetControl);
GridControlBase grid = spreadSheetControl.GridProperties.CurrentCell.Grid;
RowColumnIndex rowColumnIndex = grid.PointToCellRowColumnIndex(point);
var cellvalue = grid.Model[rowColumnIndex.RowIndex, rowColumnIndex.ColumnIndex].CellValue;
}
Please let us know if you have any queries.
Regards,
Ponraja