Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while sorting columns #133

Open
ghost opened this issue Apr 26, 2017 · 4 comments
Open

Issue while sorting columns #133

ghost opened this issue Apr 26, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 26, 2017

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. (paper-datatable.html:517)
at polymer.html:1304
at Object._atEndOfMicrotask (polymer-mini.html:2122)

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"
}

@santosh532
Copy link

having similar issue while trying to sort the columns
Uncaught TypeError: Cannot set property '_pdt_getArrayItemLabel' of undefined

@dhrytsenko
Copy link

Take a look at our datatable. It have few fixed issues and maybe it'll be useful for you.

@santosh532
Copy link

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)

@dhrytsenko
Copy link

Can you show me your data which you set to datatable as a data-source?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants