TreeTable Drag'n'Drop

Hi:

Why is the
Tree Sorting using Drag’nDrop’
example from the demo (http://demo.vaadin.com/sampler#DragDropTreeSorting) not applicable to the TreeTable? What should I change to use it in a TreeTable???

regards,

Hugo

Answering myself here, if…

TreeTargetDetails dropData = ((TreeTargetDetails) dropEvent
                    .getTargetDetails());

…is replaced by…

AbstractSelectTargetDetails dropData = ((AbstractSelectTargetDetails) dropEvent
                .getTargetDetails());

…works perfect, but not exactly like the demo…

thanks anyway if someone was thinking of answering…

Hugo

thanks for posting this solution - very helpful.