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

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

rathore_geerathore_gee Posts: 14Questions: 5Answers: 0

json data {username:'<b></b>'}
when i search table.search( '<b></b>' ).draw(); or single column nothing come up

Answers

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin

    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

This discussion has been closed.