Disable column search serversided
Disable column search serversided
matsche
Posts: 14Questions: 6Answers: 0
Hi,
i am using the DataTables' server-side processing feature in combination with the DataTables Editor PHP libary. Is it possible to disable the column search in the PHP API but only for specific columns?
Why i want to do this? One specific column should not be searchable. Because my customers are very clever by manipulating HTML requests, i have to do this by serverside...
This discussion has been closed.
Answers
Good question - currently no it is not. What would need to be done is to modify this part of the code. A simple hack would be to have a list of disallowable column names, but a proper change would be to add a
Field->searchable()
method and then check that at this point in the code.Allan