DOM initialized table / Export (pdf, excel...) button / stripNewlines option
DOM initialized table / Export (pdf, excel...) button / stripNewlines option
nlips
Posts: 3Questions: 0Answers: 0
My datatable is DOM initialized.
Some <td>
contains markup block elements (like <div>
) and line break elements (<br>
).
I extend the 'pdf' button with option stripNewlines: false
.
Newlines are not preserved in exported file
Test case: https://jsfiddle.net/nlips/dsy3bwt0/
This discussion has been closed.