The DataTables Drupal module integrates the smart DataTables plugin (originally jQuery based but in future vanilla JS) written by awesome Allan Jardine into Drupal as a tables views style and a callable theme function. DataTables lets you add dynamic features to tables which usually would need a page to reload, including:

  • Variable length pagination
  • On-the-fly search and filtering without page reload
  • On-the-fly Sorting with data type detection
  • Smart handling of column widths
  • Very flexible and themeable
  • And more to come...

"Beautify your complex tables"
Datatables is for tables what Quicktabs is for tabs.

Web resources

Dependency

  1. At the moment, you need to download and install the DataTables library manually into your libraries folder. Work on CDN support and automatic dependency management while installing is in progress.
  2. While there is work in progress for all branches to upgrade to the latest DataTables version (1.10.x), it momentary only works with DataTables <= 1.9.x. Since it's not listed in the projects download page, you will have to download it directly from here.
  3. Make sure the DataTables-x.x.x.zip archive is uncompressed and the folder renamed to "datatables" in the root of the library directory. The path would be: /libraries/datatables/media/js/jquery.dataTables.min.js

DataTables library updates

There are plans to find a future proof solution that the Drupal module implementation of the library is always updated supporting the latest DataTables library update. If you are interested in being informed and helping regarding the plans, please join us and follow this [META] issue: #2999400: [META] Keep track of DataTables library versions an its move away from jQuery. If you want to help providing patches supporting the latest DataTables library version:

  • the latest DataTables library version worked on by awesome Allan Jardine can be found on GitHub,
  • the latest officially supported library version download can be found on the project website.

Thanks and Credits for extraordinary contribution

List of contributors which have helped massively in the issue queue and further development of the project in the last years.

Supporting organizations: 
Development & implementation of new features.

Project information

Releases