Skip to content

samsk/wp-datatable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP DataTable

WP DataTable is a Wordpress plugin for insertion of static or dynamic DataTable to any blog post or page, that will add advanced interaction controls to any HTML table. Extension included: Buttons (fat=1), Column visibility, HTML5 export (fat=1), Print view (fat=1), ColReorder, FixedColumns, FixedHeader, Responsive, Select

Syntax

[wp-datatable id="ID" fat="LEVEL"]
  paging: false,
  responsible: true,
  search: true,
  columnDefs: [ {
      targets: 'no-sort',
      orderable: false
    } ]
//.. and more - see https://datatables.net/reference/option for full reference
[/wp-datatable]
  • id - (optional) 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

Installation

  • Download plugin to wp-content/plugins directory
  • Activate plugin in admin section
  • Use shortcode in pages/posts

About

Wordpress plugin for insertion of static or dynamic jQuery DataTables to any blog post or page

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages