Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1410
Drag and Drop - item disappears when dropped!
posted

Hi team

I've a serious problem with XamDataTree (v 11.1).

Basically I have 2 tree controls, very simple, that host same node type.

Tree 1:

 <ig:XamDataTree
                x:Name="HierarchyNodesTree"
                ItemsSource="{Binding HierarchyNodes}"
                DisplayMemberPath="Value"
                NodeLineVisibility="Visible"
                IsDraggable="True"
                IsDropTarget="True"
                Style="{StaticResource ResourceKey=HierarchyTree}">
                <ig:XamDataTree.GlobalNodeLayouts>
                    <ig:NodeLayout Key="Node" TargetTypeName="HierarchyNode" DisplayMemberPath="Value" ></ig:NodeLayout>
                </ig:XamDataTree.GlobalNodeLayouts>
            </ig:XamDataTree>

 

Tree 2:

 <ig:XamDataTree
                x:Name="UnassignedNodesTree"
                ItemsSource="{Binding UnassignedNodes}"
                DisplayMemberPath="Value"
                IsDraggable="True"
                Style="{StaticResource ResourceKey=HierarchyTree}">
                <ig:XamDataTree.GlobalNodeLayouts>
                    <ig:NodeLayout Key="Node" TargetTypeName="HierarchyNode" DisplayMemberPath="Value"></ig:NodeLayout>
                </ig:XamDataTree.GlobalNodeLayouts>
            </ig:XamDataTree>

 

The idea is to drag the items from Tree2 and drop to Tree1.

The problem is that sometimes (and it's not rare case!) the drapped item vanishes (completely disappears from Tree2, and is not added to Tree1).

This is happening when I drag root item to the deep node (deep level >2).

Appreciate any feedback