WP DataTable

Plugin Banner

WP DataTable

by samsk

Download
Description

WP DataTable is a WordPress plugin for insertion of static or dynamic DataTable functionality (http://datatables.net/) to any blog post or page.
Extensions included: Buttons (fat=1), Column visibility, HTML5 export (fat=1), Print view (fat=1), ColReorder, FixedColumns, FixedHeader, Responsive, Select

Features

  • Provision of DataTables script and css style
  • Full configuration via raw javascript (see https://datatables.net/reference/option/ for more info)

Usage

[wp-datatable id="ID" fat="LEVEL"]
    paging: false,
    responsive: true,
    search: true,
    //.. and more - see https://datatables.net/reference/option for full reference
[/wp-datatable]
  • id – specifies ID of existing table to which datatable functionality should be applied
  • fat – (optional) provide fat version of datatables (see Fat level)
  • CONTENT – optional datatables configuration

Fat level

  1. adds Button extension with HTML5 export and Print preview + JSZip for excel export
  1. Make sure you are using WordPress 4.0 or later and that your server is running PHP 5.2.4 or later (same requirement as WordPress itself)
  2. Install and activate the plugin as usual from the ‘Plugins’ menu in WordPress.

AMAZING!

By ssx95351 on August 31, 2018

I was struggling to put DataTables on my site, due to conflicts. This plugin solved it all!! So much easier than trying to implement it manually. I can't stress enough how great this FREE plugin is! I will definitely be making a donation to the developer for his hard work.... THANK YOU!!!!!!!

Great plugin

By manesvenom on June 19, 2018

Very nice plugin to integrate Datatable to WordPress.

Can't believe it isn't more popular

By ohthetrees on May 31, 2018

The great thing about this plugin is it works with any table, even if it is generated outside of wordpress, or with another plugin. I'm not aware of any other plugin that does the same. Also it is based on the the extremely powerful and popular DataTables jquery project. I just hope that the developer gets enough love to keep maintaining the plugin.

Awesome

By 8oris on December 14, 2017

Works perfectly, very reliable! A great one very useful!

Thanks!

By i2eno on December 6, 2019

Thank you very much 🙂

Great table styling + CSV export

By veronica (veronicalobanov) on July 27, 2017

Plugin is simple and allows you to style tables beautifully and easily. I am using Formidable Forms that generate tables for me, so I could not use any plugins (TablePress etc.) that require you to create a table or create SQL statement and have it saved within plugin. My tables are generated dynamically by another plugin so none of table plugins worked for me. This plugin allows me to style my tables based on best practices of DataTable for jQuery. But the biggest thing for me was to be able to export data into CSV. Author of plugin graciously agreed to add Buttons extensions to his plugin and I am now able to export to CSV and also Copy table data to clipboard. Overall this is a great free plugin that allows you to do a lot with your table style. Thank you!

0.2.7 (2025-01-31)

  • Fix Contributor XSS via id attribute (reported by zaim via Wordfence)

0.2.6 (2022-11-02)

  • Update jQuery DataTables to 1.11.1

0.2.5 (2018-04-13)

  • fix copyright info

0.2.4 (2017-11-07)

  • Update jQuery DataTables to 1.10.16
  • Fixed sort icon paths

0.2.3 (2017-07-23)

  • Update jQuery DataTables to 1.10.15
  • Added Datatables with Button plugin, served if attribute fat=1

0.2.2 (2017-01-18)

  • Fix sort images paths
  • Update jQuery DataTables to 1.10.13

0.2.1 (2016-10-29)

  • Fix warning
  • Include more datatables extensions

0.2.0 (2016-09-04)

  • Initial release
Back to top