DragDrop MultiLines without Key

2 posts, 0 answers
  1. Marc
    Marc avatar
    52 posts
    Member since:
    Mar 2017

    Posted 18 Aug 2017 Link to this post

    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

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3532 posts

    Posted 21 Aug 2017 Link to this post

    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.
Back to Top