Search JSON data table.search( '' ).draw()
Search JSON data table.search( '' ).draw()
rathore_gee
Posts: 14Questions: 5Answers: 0
json data {username:'<b></b>'}
when i search table.search( '<b></b>' ).draw(); or single column nothing come up
This discussion has been closed.
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