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

cvescovicvescovi Posts: 3Questions: 2Answers: 0
edited January 2015 in Free community support

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.