DataTable is a free to use library that turns your normal looking html table into an interactive marvel with sortable and searchable columns and a whole lot more; we're going to use it with CodeIgniter, merging DataTable and CodeIgniter table functionality. It's simple to use and is able to handle most of the things you will need it for. Here, in this recipe, we're going to use it with DataTable to create an interactive HTML table that is sortable and searchable. It has pagination too! If you want database results, move on to the next recipe, Using an HTML table with DataTable and a database, where we'll look at populating a table from a database query.
For this recipe, you will need to follow the given procedure:
Ensure that you've downloaded DataTable from the following link:
Unzip the downloaded
.zip
file, and move the files to a location on your web server or localhost, which will be accessible by CodeIgniter...