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

Select multiple nodes/radtreeview Items by dragging mouse

1 Answer 94 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ashna
Top achievements
Rank 1
Ashna asked on 21 Aug 2015, 11:02 AM

Hi

Is it possible to​ select multiple nodes in TreeView after clicking on one node and then dragging mouse just like we do in GridView. Basically I need to implement DragElementAction property in Treeview but cannot find it in this control.

Any help would be greatly appreciated.

 

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 26 Aug 2015, 10:24 AM
Hello Ashna,

RadTreeView doesn't support drag selection mode. However, you can implement such with custom logic in the treeview's mouse event handlers. I prepared a small example that demonstrates a possible approach, but please keep in mind this implementation is not well tested and I cannot guarantee that it will work in all expected scenarios.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TreeView
Asked by
Ashna
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or