java - How to preserve Vaadin Tree container items order? -


i have vaadin 7 tree hierarchicalcontainer contains items in order (reordered through .moveaftersibling().

when try id collection them order have inserted, not order shown.

i have checked both container.getitemids() , .firstitemid() / .nextitemid(). both not match order see on screen.

what do wrong way?

after looking hierarchicalcontainer source have figured how .moveaftersibling() works. remedy root elements list:

container.rootitemids() 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -