PluginDatatableDatatable_1_10_13
https://datatables.net/
Just set id to any table and use widgets "include" and "run" to make use of Datatable.
Go to https://datatables.net/plug-ins/i18n/ for downloading i18n files.
$(document).ready(function(){ $('#myTable').DataTable(); });widget_include
Widget setup
type: widget
data:
plugin: datatable/datatable_1_10_13
method: include
data:
style: datatables
_: 'Change style to bootstrap if needed.'
Include Datatable in head or before table. Set style to datatables or bootstrap.
widget_run
Widget setup
type: widget
data:
plugin: datatable/datatable_1_10_13
method: run
data:
id: table_test
json:
paging: true
iDisplayLength: 10
ordering: true
info: true
searching: true
order:
-
- 0
- desc
Run Datatable command on a table by it´s id. The "include" widget has to be embeded before this widget.
Dependencies
This plugin has no dependencies.
Usage
This plugin are not in use of other plugins.
Request a plugin
If you need a plugin to your website, one could make a request to a developer.