Warning: Undefined array key 1 in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Warning: Undefined array key 1 in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170

Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /www/webvol18/ib/e33uwimxd7xln4y/dev.buto.se/sys/mercury/lib/wfPlugin.class.php on line 170
Plugin - Buto - Plugin - Buto -

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.

Plugins

Browse and download the plugins you need for your theme.

Plugins

Request a plugin

If you need a plugin to your website, one could make a request to a developer.

Plugin request

Learn about plugin

Learn how to use or create a plugin.

Plugin knowledge