With one table several operators are working, and always have to show up to date. I do this by clicking on the line -
...
table.addListener(new Table.ValueChangeListener() {
public void valueChange(final com.vaadin.data.Property.ValueChangeEvent event) {
...
BeanItemContainer<Incoming> bic;
Query query = sess.createQuery("....");
List l = query.....
bic = new BeanItemContainer<Incoming>(l);
table.setContainerDataSource(bic);
...
}
});
...
But when I load -
table.setContainerDataSource(bic);
Selected line
is lost
.
What to do in this case? I would be grateful for the information!
Thank you!