DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:datatables

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
plugin:datatables [2018-05-28 19:43] – [Installation] Klap-inplugin:datatables [2018-11-25 11:32] – [Options] The 'desc' option is very hard to find. Stefanobasta
Line 92: Line 92:
   * 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).
   * Do not prepend option names with ''%%data-%%''. The prefix will be added by the plugin.   * Do not prepend option names with ''%%data-%%''. The prefix will be added by the plugin.
-  * Complex option values must be specified using valid JSON, wrapped with single quotes ''%%'%%''. For example: ''%%order='[[0, "asc"]]'%%'' or ''%%search='{"search":"fred"}'%%''.+  * Complex option values must be specified using valid JSON, wrapped with single quotes ''%%'%%''. For example: ''%%order='[[0, "asc"]]'%%'', ''%%order='[[0, "desc"]]'%%'' or ''%%search='{"search":"fred"}'%%''.
   * Datatables won't work in complex tables, where cells are merged together (e.g. with ":::")   * Datatables won't work in complex tables, where cells are merged together (e.g. with ":::")
  
plugin/datatables.txt · Last modified: 2024-04-21 09:58 by 2001:1c04:2a92:5f00:4a0f:68f2:3f0c:20c6

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki