Digital pattern library

DataTables

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, and will add advanced interaction controls to any HTML table.

DataTables website

DataTables are for displaying large amounts of data across multiple columns, but is suitable for any sized data set. DataTables will enable your tables to be viewable on mobile devices. It does this by hiding columns, starting from the right side, and showing those when you click on the arrow.

To use on your page you must

Include the following files:

And then add the class dataTable to your table.


Options available


Default

Code