Create Powerful Tables with DataTables jQuery and Views

The DataTables plugin for jQuery offers enhanced interaction for standard HTML tables. Developers are able to create highly interactive tables with dynamic sorting, filtering and pagination without having to write custom server side code.

As always with jQuery plugins, there is a module that integrates the plugin with Drupal. The DataTables Drupal module integrates the plugin with Views. The Views integration allows developers to create a “DataTables” table with just Views and no custom code.

The module also offers a theme function called theme_datatable($variables) for rendering tables programmatically. In this video, we’ll create an interactive table using the Views and DataTables module.

Modules

drush dl datatables ctools views

Resources

Scroll to Top