How to tell tabletools extension to use \n as a line break in pdf
How to tell tabletools extension to use \n as a line break in pdf
![cvescovi](https://secure.gravatar.com/avatar/49819fa98419d65dd4a8bf482e16a0c9/?default=https%3A%2F%2Fvanillicon.com%2F49819fa98419d65dd4a8bf482e16a0c9_200.png&rating=g&size=120)
Hi there, I have cells in datatable that include line breaks using '\n'. These are ignored in the pdf output. I followed the API documentation as best I could (not a javascript guru) and tried the following with no success.
"tableTools": {
"aButtons" : [
{ "sExtends" :"pdf", "sNewLine":"auto" }
]
}
If anyone could point me in the right direction to getting this to work, it'd be most appreciated.
Cheers
Carl
This discussion has been closed.