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.

How to add a new row to the top of a Table?

jasphior g
1 decade ago Apr 18, 2012 10:10pm
Johannes Häyry
1 decade ago Apr 19, 2012 9:08am

Depends on the container implementation. E.g. IndexedContainer has a method addItemAt(int index), but BeanItemContainer doesn't support it. How about calling container sort after every new item addition.

jasphior g
1 decade ago Apr 19, 2012 9:29pm
Susan Osgood
8 years ago Apr 02, 2015 7:12pm