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
Post a Comment