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).

enter image description here

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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -