Exclude columns from global search, but allow column search
Exclude columns from global search, but allow column search
I am using dynamically set filters on some columns hidden with the column class 'never', which basically contain ID numbers. I want to exclude these columns from the global search to not confuse the user. The property 'searchable': false also disables the individual column search.
I would prefer to not use a custom search function for the global search. Is there a way to exclude columns from only the global search while keeping the individual column search?
This question has an accepted answers - jump to answer
Answers
Short answer is no, either a column is searchable or it isn't, so you can't have one without the other. But as you say, using a search function would allow you to add that level of customisation.
Colin