Exclude from datatable but in search
Exclude from datatable but in search
![pravesh](https://secure.gravatar.com/avatar/0fd69de1d090d51d46a322b6fd67052e/?default=https%3A%2F%2Fvanillicon.com%2F0fd69de1d090d51d46a322b6fd67052e_200.png&rating=g&size=120)
Is it possible to tell DataTables to not show certain columns but have to search?
Example, I don't want to Show City column but I could search Cities.
Many thanks for your help
This discussion has been closed.
Answers
Hi @pravesh ,
It does that by default - see here. In this example, the cities are the third column - so you can still search by the value despite that column being hidden.
Cheers,
Colin