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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
vaadin-grid how to update table data using data binding
Is there a way to update the grid/table data using Polymer's data binding mechanism or is another mechanism required? If another mechanism is required, I would appreciate pointer to documentation or better yet an example showing this (: Thanks!
Hi,
have you seen the
Also check out the
In short: binding the vaaadin-grid attribute items to a datasource will populate the grid as expected.
Thank you for the replies.
My need was to UPDATE the Vaadin grid during runtime. After trying a few mechanism, I ended up firing a custom "update" event on the element:
this.$.vitals.fire ( "update", this.vitals );
and my custom update event listener in my element:
update : function ( event, info ) {
this.info = info;
this.$.table.items = this.info;
this.$.table.size = this.info.length;
this.$.table.refreshItems();
}
Hope that will help someone else...