/datatables

Provides integration of the DataTables library into Views.

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

DataTables

This module provides Views integration for the DataTables library, which provides advanced interaction controls to HTML tables such as dynamic pagination, on-the-fly filtering, and column sorting.

In contrast to the Drupal module, which used DataTables v1.9 from 2012, the Backdrop module uses v2 from 2024.

For full documentation and examples, visit the DataTables website: https://datatables.net/

Installation

  • Install this module using the official Backdrop CMS instructions at https://docs.backdropcms.org/documentation/extend-with-modules.

  • There are two ways you can use DataTables:

    1. Create a View and use the DataTables display format.
    2. Use theme_datatable function in your own module code. Detailed documentation is included with the function.

Differences from Drupal 7

  • The DataTables library version 2.0.5 is alreay packaged with this module and does not need to be installed separately.
  • DataTables requires jQuery 1.7 or newer which is already included in Backdrop.
  • The following DataTables extensions are also included:
    • Buttons 3.0.2 (successor of TableTools)
    • Responsive 3.0.2

Issues

Bugs and feature requests should be reported in the Issue Queue.

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text. The DataTables library is available under the MIT license.