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

Drag & Drop in two kendo angular grid

3 Answers 761 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Myo
Top achievements
Rank 1
Myo asked on 23 Oct 2018, 06:26 AM

Hi 

Is there any examples to achieve this drag and drop row from one grid to another grid?

Thanks

Han

3 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 24 Oct 2018, 08:47 AM
Hi Han,

The desired functionality is not supported out-of-the-box and there is no example demonstrating such behavior. The closest we have is a demo that contains a sample custom implementation allowing drag-and-drop functionality inside of the Grid, based on the HTML5 drag-and-drop API:

https://www.telerik.com/kendo-angular-ui/components/grid/how-to/row-reordering/

You can inspect it and use it as a base for a customized version that would allow for dragging rows between grids. The main workflow would remain similar - depending on the current target of the drag over event mutate the Grid data accordingly. When the drop target is in another Grid, the item should be removed from the first Grid's data collection and added to the second Grid data collection programmatically.

I hope this helps, but if you have the time, please support the following feature request in our UserVoice portal:

http://kendoui-feedback.telerik.com/forums/555517-kendo-ui-for-angular-feedback/suggestions/19054432-drag-and-drop-between-grids

This helps us estimate the customer demand for certain features and enhancements, and prioritize accordingly when updating our roadmap. Thank you in advance.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Naseer
Top achievements
Rank 1
answered on 04 Jun 2020, 02:03 PM

Thanks Topalov, 

I am working on the working around solution mentioned. will get back to you if encounter any issues. I appreciate your help. 

0
Benedetta
Top achievements
Rank 1
Veteran
Iron
answered on 09 Mar 2021, 08:21 AM

Thanks Dimiter, i could make it works.

 

B

Tags
General Discussions
Asked by
Myo
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Naseer
Top achievements
Rank 1
Benedetta
Top achievements
Rank 1
Veteran
Iron
Share this question
or