wiki:plugin:datatables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:plugin:datatables [2015/09/30 14:23] Giuseppe Di Terlizziwiki:plugin:datatables [2020/06/14 23:46] (current) Giuseppe Di Terlizzi
Line 1: Line 1:
-~~NOCACHE~~ +<jumbotron>
 ====== DataTables Plugin ====== ====== DataTables Plugin ======
  
-This plugin add DataTables (https://datatables.net) support to DokuWiki.+{{fa>table}} This plugin add DataTables jQuery plug-in (https://datatables.net) support to DokuWiki.
  
 For more information see [[doku>plugin:datatables|Datatables Plugin]] page on [[https://www.dokuwiki.org|DokuWiki.org]]! For more information see [[doku>plugin:datatables|Datatables Plugin]] page on [[https://www.dokuwiki.org|DokuWiki.org]]!
 +
 +\\
 +\\
 +
 +<btn type="success" icon="fa fa-download">[[https://github.com/LotarProject/dokuwiki-plugin-datatables/zipball/master|Download]]</btn> <btn type="default" icon="fa fa-bug">[[https://github.com/LotarProject/dokuwiki-plugin-datatables/issues|Bug tracker]]</btn> <btn type="default" icon="fa fa-paypal">[[https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9LJDLVSNGYSA2|Donate]]</btn>
 +</jumbotron>
 +
 +===== Installation =====
 +
 +Install the plugin using the [[doku>plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[doku>plugins|Plugins]] on how to install plugins manually.
  
 ===== Syntax ===== ===== Syntax =====
Line 22: Line 32:
 <datatables> <datatables>
 ^ Column A ^ Column B ^ Column C ^ ^ Column A ^ Column B ^ Column C ^
-| Row A1   | Row B1   | Row C1   | 
-| Row A2   | Row B2   | Row C2   | 
-| Row A2   | Row B2   | Row C3   | 
-</datatables> 
- 
-\\ 
-\\ 
- 
-==== No-Header ==== 
- 
-<code><datatables header-rows="true"> 
-| Row A1   | Row B1   | Row C1   | 
-| Row A2   | Row B2   | Row C2   | 
-| Row A2   | Row B2   | Row C3   | 
-</datatables></code> 
- 
-\\ 
-\\ 
- 
-<datatables header-rows="true"> 
 | Row A1   | Row B1   | Row C1   | | Row A1   | Row B1   | Row C1   |
 | Row A2   | Row B2   | Row C2   | | Row A2   | Row B2   | Row C2   |
Line 71: Line 61:
 \\ \\
 \\ \\
 +
 +===== Other Examples =====
 +
 +{{namespace>wiki:plugin:datatables:examples&linkonly&inline}}
  
 ===== Options ===== ===== Options =====
Line 91: Line 85:
 </datatables> </datatables>
  
-<callout type="info">+<callout type="info" icon="true">
 === Notes === === Notes ===
   * The option names are actually used as HTML5 data attributes, so they must be formatted with hyphens-and-lower-case instead of camelCase (see https://datatables.net/manual/options#HTML-5-data-attributes).   * The option names are actually used as HTML5 data attributes, so they must be formatted with hyphens-and-lower-case instead of camelCase (see https://datatables.net/manual/options#HTML-5-data-attributes).
Line 107: Line 101:
 ===== Extensions ===== ===== Extensions =====
  
-==== Fixed Header ====+^ ^ Attribute ^ Example ^ 
 +^ Fixed Header  | ''fixed-header'' | ''fixed-header="true"'' or ''fixed-header='{ "header": true, "headerOffset": 50 }' ''
 +^ Fixed Columns | ''fixed-columns'' | ''fixed-columns="true"''
 +^ Responsive    | ''responsive'' | ''responsive="true"''
 +^ Buttons       | ''buttons'' | ''buttons='[ "copy", "csv", "print" ]' ''
 + 
 + 
 +===== Development ===== 
 + 
 +[[https://travis-ci.org/LotarProject/dokuwiki-plugin-bootswrapper|{{  https://travis-ci.org/LotarProject/dokuwiki-plugin-datatables.png?nocache|Build Status}}]] 
 + 
 +=== ChangeLog === 
 + 
 +{{rss>http://lotar.altervista.org/feed-wrapper.php?feed=https%3A%2F%2Fgithub.com%2FLotarProject%2Fdokuwiki-plugin-datatables%2Fcommits%2Fmaster.atom 5 author date 1h }} 
 + 
 +=== Known Bugs and Issues ===
  
-^ Attribute ^ Default Value ^ Description ^ +Please report bugs or feature requests at the [[https://github.com/LotarProject/dokuwiki-plugin-datatables/issues|Bug tracker]].
-| ''fixed-header-enable'' | ''false'' | Enable FixedHeader extension | +
-| ''fixed-header-offset-top'' | ''0'' | Set a top offset |+
  
 +{{tag>dokuwiki plugin}}
  • wiki/plugin/datatables.1443615811.txt.gz
  • Last modified: 9 years ago
  • by Giuseppe Di Terlizzi