Rendering a table cell as something other than a string
Rendering a table cell as something other than a string
Hello,
It seems like fnRender can only return a string.
Is there any way to pass a DOM node to DataTables as the content of a given cell? I realize that I could through after the table is rendered and append DOM nodes to given cells, but I'm hoping there's a way to do it within the DataTables API itself so that I don't have to worry about figuring out when to redraw after paging, etc.
Thanks.
It seems like fnRender can only return a string.
Is there any way to pass a DOM node to DataTables as the content of a given cell? I realize that I could through after the table is rendered and append DOM nodes to given cells, but I'm hoping there's a way to do it within the DataTables API itself so that I don't have to worry about figuring out when to redraw after paging, etc.
Thanks.
This discussion has been closed.