Search in column which is not displayed?
Search in column which is not displayed?
schier
Posts: 5Questions: 2Answers: 0
Hi,
is it possible to search within a column of the table displayed with datatables, where the column I want to search in is not printed out?
Thank you in advance,
best regards
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Ok solved, it is possible by displaying the column by default and then hiding it with the api
You shouldn't need to hide it with the API - the
columns.visible
option should be enough on initialisation. The searchablity of a column is controlled bycolumns.searchable
.Allan
Ok, thank you very much!