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

3 posts, 0 answers
  1. Alexey
    Alexey avatar
    3 posts
    Member since:
    Sep 2011

    Posted 14 Nov 2012 Link to this post

    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?


    Alexey Lavrov
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1236 posts

    Posted 19 Nov 2012 Link to this post

    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.

    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Alexey
    Alexey avatar
    3 posts
    Member since:
    Sep 2011

    Posted 29 Nov 2012 Link to this post


    I've got Q3 2012 components and found working ListBoxDragDropBehavior. That's what I wanted to see.
Back to Top