Closed alexregier closed 6 years ago
Hi @HoverAlex. Check this docs about dataSource and datatable-card example implementation. If you use only bwt-datatable
it is normal to use simple array as data-source
but with card you need to define set/get methods.
Closed due to inactivity. Please open it again if you have any questions
I'm always getting an error while creating a paper-datatable-card with Polymer 2:
Uncaught TypeError: Cannot read property 'apply' of undefined
. This happens inbtw-datatable-card.html
line 501.It's a clean installation of the Polymer 2 starter kit. I downloaded the JSON from the online example to keep things simple but this occurs immediately. The "normal"
paper-datatable
works well.This is my code:
(this is copied from the demo)
and in the element registration: