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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 3 weeks ago
Problem with Lazy Loader and MTable data update
Hello,
I'am using a BeanItemContainer and a lazy list to load some data into a MTable.
LazyList <File> lazy = new LazyList<>(service::fetchTransactions, service::getTransactionCount, service.PAGE_SIZE);
BeanItemContainer<File> listContainer = new BeanItemContainer<File>(File.class, lazy);
table.setContainerDataSource(listContainer);
But when i try to update MTable with this code below, lazy loader starts and refresh my table. I already tried refreshRows, markAsDirty, and others, but MTable still doing the same behavior. Can i update MTable and don't call lazyloader update ? Please, really need help on this. Thanks.
table.getItem(itemid).getItemProperty("cStat").setValue(status);
Last updated on
You cannot reply to this thread.