-
Notifications
You must be signed in to change notification settings - Fork 132
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
mdt-column error with Angular 1.6 ~ 1.6.4 #315
Comments
same here |
Changing line 1214 from "clone.html()" to "clone.text()" in file "md-data-table.js" make it works:
To solve TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'. errors see: #268 (evaldsurtans reply) |
This is my solution: |
I got the same problem here~ Is this project stop updatde? |
Rather than change the code to only look for text, another work-around is to wrap your text values in
That way, you can still use HTML in the header if you need to.
Edit I take that back. It does work-around the issue, but any other HTML with the span tags appears as text, so I'm not sure what the point of cloning the html is. |
I have the same issue with AngularJS 1.7.8 and mdtDataTable 2.2.0 (current latest of both). It previously worked with AngularJS 1.5.x. I guess this issue was never resolved?
|
This comment is consistent with what I am seeing. They suggest it is a side-bug that occurs when full jQuery is not present, and jqLite has trouble with the interpolation. I couldn't get this to fix it for me though. |
Adding a
|
Hi, I encounter a problem when running mdDataTable with AngularJS 1.6 or higher the following error appears on console per for each
mdt-column
declared:And the columns are not shown.
Screen:
The text was updated successfully, but these errors were encountered: