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.

Sorting a tree

Dani Pardo
1 decade ago Mar 22, 2012 7:49am
Teemu Pöntelin
1 decade ago Mar 22, 2012 9:22am
Dani Pardo
1 decade ago Mar 22, 2012 10:28am

Hi Teemu, and thanks, that seems to work now. At least the compare method gets called.
Although I still don't get how to call the sort() method in the container, why do we have to pass the array of propertyIds and another array of booleans? Shouldn't it just sort them all (i.e a method sort with no parameters)?


Last updated on Mar, 22nd 2012