This repository was archived by the owner on Feb 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 490
renderWith
could handle returned DOM elements also
#299
Comments
renderWith
could handle returned DOM elements instead of html stringrenderWith
could handle returned DOM elements also
Except that all I don't really know if it's really possible to use the DOM element instead of a string. |
Yes, you're right. There are a few issues open such as https://github.com/DataTables/DataTables/issues/435 It looks like the author is interested in the idea but is going to eventually implement his own solution. |
Having the same problem! Up! 👍 |
Closing as issue is too old and the version is no longer maintained. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'd like to provide a compiled DOM element
However the output in my table cell is
[object Object]
(the DOM object). TherenderWith
listener could check to see if the returned value is a string or a DOM element, and if it's a DOM element to just append that.May run in to issues with trusting html, in which case
$sce.trustAsHtml()
andng-bind-html
would need to be implemented into the solution.The text was updated successfully, but these errors were encountered: