Digital pattern library

Tables - DataTables

DataTables is a jQuery plugin that adds interactive controls to an HTML table.

DataTables may be used for displaying large amounts of data across multiple columns, but it 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.

How to use

Include the following file in the head.

Include the following file at the end of the body.

Add the class dataTable to your table.


Example

Code