Loading...
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
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin 7 streaming in Grid

Jan Kowalski
5 years ago Mar 28, 2017 9:14am
Peter Hansson
5 years ago Mar 29, 2017 5:16am

Sure, this is possible. You need to use Server-side Push.

However, there are a couple of things you need to consider

  • You may have to limit your update rate. Don't expect to be able update your Grid say 10 times per second. Conflating your updates is not something Vaadin can do for you, so you'll have to do that yourself before you hit Vaadin. If you absolutely know that yuur update rate is low (and will never burst) then you can disregard this bullet.
  • You'll most likely need some kind of visual indication in the cells that have changed. Perhaps this can help you.

/Peter
 

Jan Kowalski
5 years ago Mar 30, 2017 7:43am