We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Drag and Drop GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

8185 Oct 24,2003 06:22 PM UTC Oct 24,2003 09:57 PM UTC Windows Forms 1
loading
Tags: GridControl
Jose Luis Melo
Asked On October 24, 2003 06:22 PM UTC

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.

Administrator [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;