Disable column search serversided

Disable column search serversided

matschematsche 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...

Answers

  • allanallan Posts: 63,195Questions: 1Answers: 10,412 Site admin

    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

This discussion has been closed.