Search JSON data table.search( '' ).draw()
Search JSON data table.search( '' ).draw()

json data {username:'<b></b>'}
when i search table.search( '<b></b>' ).draw(); or single column nothing come up
This discussion has been closed.
json data {username:'<b></b>'}
when i search table.search( '<b></b>' ).draw(); or single column nothing come up
Answers
DataTables strips HTML by default for the search. You need to set the column type to
text
if you want to retain the HTML (columns.type
).Allan