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

Drag and Drop gridview selected Cells to wpf list view

2 Answers 278 Views
GridView
This is a migrated thread and some comments may be shown as answers.
mehrdad
Top achievements
Rank 1
mehrdad asked on 17 Jun 2018, 06:05 AM

Dear, Admin

I have a following scenario and try to accomplished by the grid view.

1) User can drag and drop a cell in the grid view and drop it in the wpf list view.
2) the value of the dragging cell from second column and another data in item row will set to item in list view.

3) another column is protect and not drag from another column.

Please help me with sample attachment
Thanks a lot

Mehrdad


2 Answers, 1 is accepted

Sort by
0
mehrdad
Top achievements
Rank 1
answered on 20 Jun 2018, 04:58 AM
I do not want to move the row. I want to give my ID with this drag and drop to destination (listview)
0
Dinko | Tech Support Engineer
Telerik team
answered on 20 Jun 2018, 11:38 AM
Hello Mehrdad,

You can take a look at our Tree to Grid Drag online (Silverlight) example which demonstrates dragging between RadGridView, RadTreeView, ListBox. For a WPF version, you can download our Telerik UI for WPF Controls Demo application which contains the same examples but in WPF.

Hope this example will be a good starting point for implementing your final behavior.

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
mehrdad
Top achievements
Rank 1
Answers by
mehrdad
Top achievements
Rank 1
Dinko | Tech Support Engineer
Telerik team
Share this question
or