This example extends the example provided in the How to allow an end-user to move the rows in a grid up and down if the grid is bound to a DataTable article with drag and drop functionality.
Question Comments
Added By: Micha Ben-Efraim at: 6/11/2012 2:11:54 AM
I copied this example for reordering the element of a list bound to the control and it works almost perfectly. The problem is that the control doesn't scroll during D&D: the list is longer as the displayed window. If I select the first or the last item in the list (first/last row) and want o move to the last/first position, which is not visible, the view should scroll somehow in order to show the target drop row. But it doesn't do it when I move the cursor to the top/bottom of the view.
Can it
Is possible to make this with the AdvBandedGridView?
I've tryed to make the same but in the:
Private Sub GridControl1_DragOver(sender As System.Object, e As System.Windows.Forms.DragEventArgs) Handles GridControl1.DragOver
' If e.Data.GetDataPresent(GetType(GridHitInfo))
allways returns False, so never enters the IF.
Added By: softwaresupport@smec.com softwaresupport@smec.com at: 6/4/2014 5:43:37 AMHi created a new ticket for this implementation as i dont find that it works
Added By: softwaresupport@smec.com softwaresupport@smec.com at: 6/4/2014 5:44:03 AMHere is the ticket ID : T114366