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

Use drag-n-drop within RadPanelBar to reorder items and groups

2 Answers 100 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Alexey
Top achievements
Rank 1
Alexey asked on 14 Nov 2012, 07:42 PM
Hi Telerik,

I'm using HierarchicalDataTemplate in RadPanelItem for my datasource. I need to use drag-n-drop to reorder items and groups in RadPanelBar.

1. When user drags HeaderRow (group item) he should be able to change order of this group in list as result.

Original:                                  After drag-n-drop by group header to the begin of list:
Group1                                   Group2
    Item11                                     Item21
    Item12                                     Item22
    Item13                                Group1        
Group2 <--dragged to begin       Item11
    Item21                                     Item12
    Item22                                     Item13


2. User also should be able to reorder item(s) (one or multiply selected) inside one group or move it to another group using drag-n-drop.


I'm more interested in the definition and visualization of position within the list where item should be moved.
Can you help me with direction of search or maybe little example?

Thanks.

Regards,
Alexey Lavrov

2 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 19 Nov 2012, 01:25 PM
Hi Alexey,

As far as i understand you need to add a "Drag and Drop" functionality to your scenario. You can achieve this with our DragDropManager. You can read more about it in our help documentation article. Also you can take a look at our online demonstration projects where you can see some customization done with the manager.
If you have further questions please feel free to ask.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Alexey
Top achievements
Rank 1
answered on 29 Nov 2012, 02:51 PM
Thanks

I've got Q3 2012 components and found working ListBoxDragDropBehavior. That's what I wanted to see.
Tags
PanelBar
Asked by
Alexey
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Alexey
Top achievements
Rank 1
Share this question
or