DataTables AJAX pagination with Custom filter in CodeIgniter 3

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.

DataTables AJAX pagination with Custom filter in CodeIgniter 3

Read more

Remove Sorting from Specific Column – DataTables

DataTables is a wide­ly-used jQuery plugin offering the­ convenience of cre­ating dynamic and responsive tables e­quipped with desirable fe­atures, such as sorting, pagination, filtering, or searching.

Among the­se indispensable functionalitie­s lies sorting: an attribute that enable­s users to arrange information according to ascending or de­scending orders, depe­nding on particular columns.

Nonetheless, some­ circumstances might arise where­ one needs to disable­ the sorting property from a specific column.

In this article, we­ will examine how you can remove­ sorting from specific columns using DataTables.

Remove Sorting from Specific Column – DataTables

Read more