DataTables by default comes with a search filter that can be used to search on all fields or specific fields and display records.
Sometimes, require to add the filter for the particular field only like – adding date range filter, country filter, etc.
DataTables allow for passing data that can read at the server-side script.
In this tutorial, I show how you can add a custom search filter and get records using DataTables in CodeIgniter 3.