This is a migrated thread and some comments may be shown as answers.

Drag and Drop Feature

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sanjay Singh
Top achievements
Rank 1
Sanjay Singh asked on 10 Jun 2010, 09:36 PM
I have two grids and I want to drag nth row grid 1 to mth row of grid 2. Both have different data source and so UI is different.
I select a row from left grid 1 (ID=1000) and go to the right grid 2 row and drop on particular row (ID=333). The row where I drop it I should be able to insert a row in the database saying 1000 is associated with 333.

Any ideas on how to do this?

1 Answer, 1 is accepted

Sort by
0
Sanjay Singh
Top achievements
Rank 1
answered on 10 Jun 2010, 10:50 PM
got it.

Use grid 1 RowDrop event

"e.DestDataItem" will be destination row
"e.DraggedItems" wiil be the source row

Tags
Grid
Asked by
Sanjay Singh
Top achievements
Rank 1
Answers by
Sanjay Singh
Top achievements
Rank 1
Share this question
or