Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

TreeTable Drag'n'Drop

Hugo Hanisch
1 decade ago Mar 30, 2012 8:15pm
Hugo Hanisch
1 decade ago Mar 30, 2012 9:30pm

Hugo H Hanisch: 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???



Answering myself here, if..

TreeTargetDetails dropData = ((TreeTargetDetails) dropEvent

...is replaced by...

AbstractSelectTargetDetails dropData = ((AbstractSelectTargetDetails) dropEvent

...works perfect, but not exactly like the demo...

thanks anyway if someone was thinking of answering.....


Lutz Harder
10 years ago Jan 17, 2013 7:36pm