Reputation: 565
What is the minimum example, if any, using the Polymer PWA (https://polymer.github.io/pwa-starter-kit/), to show correctly a vaadin-grid? I tried many different combinations, but never a working one, with, often, this warning: property-accessors.js:275 Polymer::Attributes: couldn't decode Array as JSON Am I doing anything totally wrong? Thanks Andrea
Upvotes: 1
Views: 705
Reputation: 96
Starting from the v5.2.0-beta1 we recommend using following Grid features:
vaadin-grid-filter-column
, vaadin-grid-sort-column
)path
, header
and text-align
)See the example here: https://glitch.com/edit/#!/lying-blanket?path=app.js:29:42 https://lying-blanket.glitch.me/
Note: I'm using fetch
API here for simplicity only, you can use XHR if necessary.
Upvotes: 8