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

DragDrop MultiLines without Key

1 Answer 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Veteran
Marc asked on 18 Aug 2017, 10:49 AM

Hey, 

 

I need help with Drag 'n Drop MultiLines from GridView to ListView.

Everything works, but I have to press Shift or Ctrl to drag more than one line.

If I drag without holding the key, only I line drags.

 

Is there any solutions for this?

 

Best regards

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 21 Aug 2017, 07:22 AM
Hello Marc, 

Thank you for writing.  

By design, the multiple selection is kept when you click RadGridView by pressing Shift/Ctrl keys. If you need to perform drag and drop operation for multiple rows, it is necessary to store the selected data rows when you start the drag operation, e.g. in the PreviewDragStart event. Then, in the PreviewDragDrop event, you can use the use the stored selected rows collection. Additional information for the RadGridViewDragDropService is available in the following help articles:
http://docs.telerik.com/devtools/winforms/gridview/drag-and-drop/radgridviewdragdropservice
http://docs.telerik.com/devtools/winforms/gridview/rows/drag-and-drop
 
I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Marc
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or