vaadin7 - Vaadin: Auto-refresh Grid (ajax-like) -
vaadin 7.4 introduced grid, brand-new component display tabular data. in application have view contains grid
. grid populated dynamic data (there rest service populates grid container).
that said, need auto-refresh grid time time ajax-like (just grid, without refreshing whole window). possible grid component?
applications written vaadin totally dynamic, means framework makes sure updated parts (components) redrawn when modified on page. communication in vaadin happens using ajax requests.
this means if update data in grid, grid redrawn, not whole page.
if kind of event update on server, update grid new data , enable push or polling see changes in browser too.
if need poll changes on data source, should create external thread , use push or polling see changes in browser.
when external thread modifying vaadin component instances, need use ui.access ensure correct synchronization.
Comments
Post a Comment