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

drag and drop 3 grids

1 Answer 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Claude
Top achievements
Rank 1
Iron
Veteran
Claude asked on 31 Dec 2020, 06:11 PM

I am using the built-in drag and drop service.   I have 3 grids.   

 

I am implementing it so I can drag and drop Grid 2 rows onto rows of either Grid 1 or Grid 2.

 

I have no problem of dragging the Grid 2 Rows to a row in Grid 1.  All is working fine.

However if I drag rows from Grid 2 to Grid 3, I cannot get the svc_PreviewDragDrop event to trigger.  It will trigger if I drop it on the grid in general, but not if I drop it on a row in Grid 3.  

 

Cannot figure out what I am doing wrong.  

 

Thank you

 

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 04 Jan 2021, 04:24 PM

Hello, Claude,

In order to extend the RadGridView control to enable drag and drop functionality between grids, you should carefully follow the steps described in the Drag and Drop article. You should handle drag and drop events for the grid through the RadDragDropService service and register the custom row selection behavior for each of your three grids. I prepared a project for your reference. Is it possible to run it and see how it works. After running it, you can see that the svc_PreviewDragDrop event fires for each of three RadGridViews

I hope this helps. Should you have other questions do not hesitate to contact me.

Regards,
Nadya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Claude
Top achievements
Rank 1
Iron
Veteran
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or