Wunderbyte Table
插件本地插件稳定版

Wunderbyte Table

local_wunderbyte_tableWunderbyte GmbH

  • Moodle 4.5–5.3
  • 更新 2026-11-05

This plugin provides a huge enhancement of the table lib in Moodle. You can now use filtering, templates and different methods to display data in a clean and structured way easier than ever. This plugin is used combination with other plugins like mod_booking and should make life easier for Moodle developers. To have a quick demo install it and on your site go to /local/wunderbyte_table/demo.php
Wunderbyte Table can be used instead of the table_sql class and then supports all the actions via Ajax.
This local plugin was developed to allow the use of the table_sql class within modals and tabs.
There is no special configuration required, BUT with special configuration, your table will be much more powerful.
After the installation of the local_wunderbyte_table, you can create an
extended class to wunderbyte_table (instead of table_sql).
class booking_table extends wunderbyte_table {}
If your extended table class contains another class (eg
myplugin_class), make sure you can instantiate it with only the cmid.
Errors will be thrown if this is not possible.
From 1.1.1 on, wunderbyte_table is loaded only once the
corresponding div and none of it’s parent is hidden (display:none) and
it will add a visbility listener on the next hidden parent element.
Unhiding will trigger loading of the table.
The included demo.php is only meant to demonstrate the working of the table.
That’s all it takes. Switching pages, sorting, hiding columns and downloading will now run via ajax.
Multiple custom templates
Wunderbyte Table comes with a responsive table template,
but it can and should be overriden in your project. To do so, set in
your instance of your extended class (eg $yourtable) the template to

返回插件目录