Ticket T486895
Visible to All Users

TreeList - How to drag and drop child nodes from one parent to another

created 8 years ago

[DevExpress Support Team: CLONED FROM A342: How to reorder XtraTreeList nodes via drag-and-drop]
I have the same question regarding dragging and dropping child node from one parent to another. I cannot view the ticket Q573961 because it looks like the ticket has been classified as private.

Can you please update, if such behaviour in XtraTreeList is supported (i.e. moving child node from one parent to another by drag drop)?

Answers approved by DevExpress Support

created 8 years ago (modified 8 years ago)

This functionality is accessible out of the box now. However, it is disabled by default. To enable it, set the TreeList.OptionsDragAndDrop.DragNodesMode property to Single or Multiple.
Additionally, I would recommend you review the TreeListOptionsDragAndDrop article where you can find additional properties that affect the drag-and-drop functionality.
I've also created a sample project to demonstrate how this works.

    Show previous comments (1)
    DevExpress Support Team 8 years ago

      This is good news, Behzad. Please feel free to contact us in case of any difficulties.

        Hi, how can I realize this in version 13.2?

        DevExpress Support Team 4 years ago

          Hello,

          As I see, you created a separate ticket regarding this issue: TreeList - How to drag and drop child nodes from one parent to another in same treelist. So, I will answer you there shortly.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.