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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
How push Table ?
Hi all, i need to refresh a table , but i don't know how push a table.
Thanks.
The answer is:
tabla.removeAllItems();<-- this remove all items
llenarTabla(); <- this is my method to insert elements into my table.
bye.
Hi Ricardo,
Usually you'll use a BeanItemContainer that you set as the table datasource. Then you operate over the item container removing/adding items.
Cheers
Fran
I work now in the validation... but ...
txtNombre.addValidator(new StringLengthValidator(
"The name must be 1-10 letters (was {0})",
1, 10, true));
automatically validate :S , attach a image.
I am ok, now add
field.setBuffered(true);
now found well :), but now i need to invalidate a button , becouse if the textfield is invalidate , don't cant press a button to add. ?