how to not escape ,escape character ?
how to not escape ,escape character ?
manish_pendse
Posts: 1Questions: 1Answers: 0
sir,
">" href="#i-have-data-coming-form-back-end-as--->">i have data coming form back end as -->
"title":"\n \n \n \n L\n \n \n 2\n ,\n p\n \n \n -norm\n and sample constraint based feature selection and classification for AD diagnosis",
">" href="#and-it-display-on-data-tables-as--->">and it display on data tables as -->
L 2 , p -norm and sample constraint based feature selection and classification for AD diagnosis
i want to display as it is, \n and space are getting removed on DataTables.
i am using this code
''' if(aData.title){
console.log(aData.title);
newHTML= aData.title
$(nRow).find(".titleColumn").html(newHTML);
} '''
Please help,
This discussion has been closed.
Answers
The question isn't easy to read, but:
\n is just white space and HTML does not render white space. You'd need to convert the \n to be
<br>
. If you can't do that in your data source, you could use a renderer to do it.Allan