views:

350

answers:

0

Hi everyone,

I have a situation where we have have to implement drag and drop in a AdvancedDataGrid to display the hierarchical data from a XML file. The trickiest part is that when I drag a leaf node (dragSource) and place it on the top of the branch node (dropTarget) the display should adjust the hierarchy so that the dragSource becomes the parent and the dropTarget becomes child of the dragSource. Can someone suggest me how to implement this.

Thanks in Advance