html tags in string fields
html tags in string fields
Karlo
Posts: 34Questions: 10Answers: 0
Hello!
I'm wondering how DataTables is handling html tags in the data of string fields.
Please look at this sample: https://jsfiddle.net/pfxu512n/
In the dataSet there's a field value "Tiger <b>Nixon</b>" and this is shown as bold (for the last name). Is this by design? If I want the grid to display the original characters from the source, do I need to change the source data accordingly, or is there a setting?
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes, by default DataTables will render HTML. If you don't want that, see this section of the manual.
Allan