paper-datatable
paper-datatable copied to clipboard
Issue while sorting columns
Hi ,
I am facing issue while sorting the columns in paper-datatable .
polymer-mini.html:2128 Uncaught TypeError: Cannot set property '_pdt_getArrayItemLabel' of undefined
at HTMLElement._registerEvilFunctions (paper-datatable-column.html:424)
at HTMLElement.
I tried to debug the code and ended up with this.dataHost undefined . So please help me out how can i resolve this issue
I used Ng2 and Polymer 1
"dependencies": { "paper-elements": "^1.0.7", "paper-datatable": "^0.9.8", "iron-icons": "^1.2.1" }, "resolutions": { "polymer": "^1.1.0", "paper-styles": "^1.0.0" }
having similar issue while trying to sort the columns Uncaught TypeError: Cannot set property '_pdt_getArrayItemLabel' of undefined
Take a look at our datatable. It have few fixed issues and maybe it'll be useful for you.
Thanks @dhrytsenko. Included your datatable but i still have the same issue
polymer-mini.html:2055 Uncaught TypeError: Cannot set property '_pdt_getArrayItemLabel' of undefined
at HTMLElement._registerEvilFunctions (bwt-datatable-column.html:421)
at HTMLElement.<anonymous> (bwt-datatable.html:618)
at polymer.html:1363
at Object._atEndOfMicrotask (polymer-mini.html:2049)
at MutationObserver.window.MutationObserver.observe.characterData (polymer-mini.html:2064)
Can you show me your data which you set to datatable as a data-source
?